Here’s a simple way to change the password of a local user
# Change Local Support Account Password $admin=[adsi]("WinNT://" + 'localhost' + "/AUserAccount, user") $admin.psbase.invoke("SetPassword", "Password01")
Advertisements
Non Nerd Friendly
Here’s a simple way to change the password of a local user
# Change Local Support Account Password $admin=[adsi]("WinNT://" + 'localhost' + "/AUserAccount, user") $admin.psbase.invoke("SetPassword", "Password01")