Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a User AccountContent of Create a User Account.vbsMD5 Hash: 7DB69EA4AE40F0CBF0FF24A7DC9E9257 |
||
' Description: Creates a user account in Active Directory. This script only creates the account, it does not enable it.
Set objOU = GetObject("LDAP://OU=management,dc=fabrikam,dc=com") Set objUser = objOU.Create("User", "cn=MyerKen") objUser.Put "sAMAccountName", "myerken" objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |