Thursday, November 27, 2008

Setting a User’s Password

Configures a new password for a user.

Set objUser = GetObject _
 ("LDAP://cn=MyerKen,ou=management,dc=fabrikam,dc=com")
objUser.SetPassword "i5A2sj*!"

This is a VB Script, this can be used by saving the file in .vbs file