Change Passwort Remotely
Das Password eines Benutzers remote ändern:
$password = "Passw0rd" $admin = [ADSI]('WinNT://DC01/admin,user') $admin.SetPassword($password) $admin.SetInfo()
$password = "Passw0rd" $admin = [ADSI]('WinNT://DC01/administrator,user') $admin.SetPassword($password) $admin.SetInfo()