Hi,
Sometimes we need to know what is our default domain password policy is set to?. Is Complexity of password is enabled? what is minimum password length is set to.
Normally to check these setting to need to open your Group Policy Console and go to domain setting etc.
But in Powershell to see these settings are very simple. These Settings are just a CMDLET away.
Make sure you have "RSAT" installed on you laptop.
Lets Start.
Import the Active Directory module first.
Import-Module ActiveDirectory
After importing the Module, we are going to use Get-ADDefaultDomainPasswordPolicy cmdlet. Simple.
Run the Get-ADDefaultDomainPasswordPolicy cmdlet and it will show you all domain Password Policy related settings.. Simple :)
Happy Weekend....
Thanks
Aman Dhally
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.