ModifyUsers.vbs Example


ModifyUsers.vbs WinNT://MicrosoftMicrosoft
name:JSmith password:PassNew Description:"new domain user"
changes the password of JSmith to PassNew and description to
" new domain user".
ModifyUsers.vbs LDAP://CN=users,DC=MicrosoftMicrosoft,DC=Microsoft,DC=Com /I:modify.txt
Where modify.txt contains the following:
cn:"Jeff Smith" passwordexpired:1 
cn:"Todd Young" passwordexpired:1
Changes both usersÆ password to expired and forces the users to change their password the next time they log on.