Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eizedev/038931996db61064b263332ad0d038ab to your computer and use it in GitHub Desktop.
Save eizedev/038931996db61064b263332ad0d038ab to your computer and use it in GitHub Desktop.
Change your own Active Directory password from PowerShell without any special permissions
([adsi]'WinNT://domain/username,user').ChangePassword('oldpassword','newpassword')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment