By David Wiseman (Administrator)Created 18 Nov 2011
My Rating:
Vote
Rating:
Not Rated
Views:5426
Downloads:60
Source:

Change Active Directory Users Password

Language:  VBScript

Compatibility

Windows XP Yes Windows 2003 Yes
Windows 2000 Yes Windows NT Unknown
Vista Yes Windows 2008 Yes
Description

Change the password of a single Active Directory user account

Code

Line Numbers: On  Off      Plain Text
Set objUser = GetObject("LDAP://cn=david.wiseman,ou=MyUsers,dc=wisesoft,dc=co,dc=uk")
objUser.SetPassword "MyP@ssw0rD"

 


Got a useful script? Click here to upload!


 

  Post Comment
Order By:  
User Comments
      
Be the first to post a comment!