windows:powershell_commands:change_ad_pwd

Change AD user password using Pwershell

Set-ADAccountPassword -Identity username -OldPassword (ConvertTo-SecureString -AsPlainText "oldpwd" -Force) -NewPassword (ConvertTo-SecureString -AsPlainText "N3Wp4$$w0rD" -Force)
  • windows/powershell_commands/change_ad_pwd.txt
  • Last modified: 2019/10/31 09:06
  • by 127.0.0.1