-
-
Save davidphay/83dfb54f80e5fe50511ce967caf68a08 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