Created
June 1, 2018 07:38
-
-
Save AshFlaw/57737aa93b3e39e80ded48dfb41c9584 to your computer and use it in GitHub Desktop.
Change your AD password with PowerShell
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
$AccountName = "" | |
Set-AdAccountPassword -Identity $AccountName -OldPassword (Read-Host -asSecureString "Current password") -NewPassword (Read-Host -asSecureString "New password") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment