Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@AshFlaw
Created June 1, 2018 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshFlaw/57737aa93b3e39e80ded48dfb41c9584 to your computer and use it in GitHub Desktop.
Save AshFlaw/57737aa93b3e39e80ded48dfb41c9584 to your computer and use it in GitHub Desktop.
Change your AD password with PowerShell
$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