Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


windows:powershell_commands:change_ad_pwd

Differences

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

Link to this comparison view

Next revision
Previous revision
windows:powershell_commands:change_ad_pwd [2018/07/24 09:12]
tplecko created
windows:powershell_commands:change_ad_pwd [2019/10/31 09:06] (current)
Line 1: Line 1:
 ====== Change AD user password using Pwershell ====== ====== Change AD user password using Pwershell ======
-Set-ADAccountPassword -Identity username -OldPassword (ConvertTo-SecureString -AsPlainText "​oldpwd"​ -Force) -NewPassword (ConvertTo-SecureString -AsPlainText "​N3Wp4$$w0rD"​ -Force)+<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 (external edit)