Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

Userkennwort mit Powershell Ändern

$
0
0

Hallo,

Ich arbeite gerade an einer Windows AIK Installation (Windows Server 2012 DataCenter Edition)! 

Mir fehlt eigentlich nur noch das der User am Ende der Installation dazu aufgefordert wird sein Kennwort zu ändern.

Wie mach ich das in Powershell, ein Userkennwort ändern?

Derzeit sieht mein Script so aus (Ja ist lachhaft!)

$password = Read-Host "Enter a new password for the sysadmin user" -AsSecureString
$confirmpassword = Read-Host "Confirm the password" -AsSecureString


Danke im Vorraus!


Viewing all articles
Browse latest Browse all 2314


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>