Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create an ADAM User AccountContent of Create an ADAM User Account.vbsMD5 Hash: B3E13739187B85A577E0849E0F72930B |
||
' Description: Creates a new ADAM user account named Gailerickson.
On Error Resume Next Set objOU = GetObject("LDAP://localhost:389/ou=Accounting,dc=fabrikam,dc=com") Set objUser = objOU.Create("user", "cn=gailerickson") objUser.Put "displayName", "Gail Erickson" objUser.Put "userPrincipalName", "gailerickson@fabrikam.com" objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |