This is a short video about how to modify users in active directory users and computers via a Visual Basic script. I’m using server 2008, but you can use Server 2003, XP, Vista, or Windows 7.
Command used…
cscript.exe
VB script…
Set objUser=GetObject(“LDAP://cn=Karl Mueller, ou=people, dc=my, dc=domain”)
objUser.put “company”,”Widgets, inc”
objUser.setinfo()