Forked from davidphay/gist:83dfb54f80e5fe50511ce967caf68a08
Created
June 28, 2019 10:00
-
-
Save eizedev/222a8c78df7aec24bf1cad78d064511d to your computer and use it in GitHub Desktop.
Change your own Active Directory password from PowerShell without any special permissions
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-AdAccountPassword -Identity $env:UserName -OldPassword (Read-Host -asSecureString "Enter the current password") -NewPassword (Read-Host -asSecureString "Enter the new password") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment