Categories
Archive
Blogroll

Microsoft PowerShell MVP

Cozumpark Bilisim Portali
Changing Active Directory User Password with Powershell
Posted in Hosting & IIS7, Windows Powershell, Windows Server | No Comment | 3,224 views | 02/03/2010 12:23

You see how easy to change ad user password with Powershell.

1
2
3
$ADUser = [ADSI] "LDAP://CN=$Username,$CustomerOU,$FQDN"
$ADUser.SetPassword($Password)
$ADUser.SetInfo()

Again, be careful to LDAP name. Have fun!



Leave a Reply