Created
April 30, 2015 08:30
-
-
Save rysstad/57c4dadfecba0f9325c4 to your computer and use it in GitHub Desktop.
Set-AllADUserPasswordNeverExpires
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set all AD user-account passwords to never expire. | |
# Use in test/dev-environments only! :-) | |
Get-ADUser -Filter * | Set-ADUser -PasswordNeverExpires:$true -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment