Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scipt tp automate user screation

Status
Not open for further replies.

spazman

Programmer
May 29, 2001
500
CA
I have a script that automates user creation. The onr thing I am missing is we limit which machines a user can log on to, throught the Log On TO on the user properties. Does anyone know where I can find how to script this? I have serched here, google and MS to no avail.

Thank you in advance
 
Never Mind I found it, like I always do 5 minus after posting for help, for all interested here is the code

Set objUser = GetObject _
("LDAP://cn=Ken Myer,ou=Finance,dc=fabrikam,dc=com")

objUser.Put "userWorkstations", "atl-ws-01,atl-ws-02,atl-ws-03"
objUser.SetInfo

from
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top