Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eizedev/222a8c78df7aec24bf1cad78d064511d to your computer and use it in GitHub Desktop.
Save eizedev/222a8c78df7aec24bf1cad78d064511d 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