Tuesday, November 17, 2020

Check password policy in AD

You need to install first Active Directory Powershell cmdlets on Windows 10. This cmdlets alloweds a user to check the policy.

Get-WindowsCapability -Online | Where-Object {$_.Name -like "*ActiveDirectory.DS-LDS*"} | Add-WindowsCapability -Online


With a cmdlets you can call
get-addomain | get-adobject -properties * | select *pwd*