windows:powershell_commands:change_ad_pwd

Differences

This shows you the differences between two versions of the page.


windows:powershell_commands:change_ad_pwd [2019/10/31 09:06] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Change AD user password using Pwershell ====== 
 +<code powershell>Set-ADAccountPassword -Identity username -OldPassword (ConvertTo-SecureString -AsPlainText "oldpwd" -Force) -NewPassword (ConvertTo-SecureString -AsPlainText "N3Wp4$$w0rD" -Force)</code>
  • windows/powershell_commands/change_ad_pwd.txt
  • Last modified: 2019/10/31 09:06
  • by 127.0.0.1