https://blog.it-kb.ru/2012/03/02/powershell-audit-of-the-use-of-password-policies/
PowerShell - Аудит использования парольной политики