Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save davidphay/83dfb54f80e5fe50511ce967caf68a08 to your computer and use it in GitHub Desktop.
Save davidphay/83dfb54f80e5fe50511ce967caf68a08 to your computer and use it in GitHub Desktop.
Change your own Active Directory password from PowerShell without any special permissions
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