Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Contact in Active DirectoryContent of Create a Contact in Active Directory.vbsMD5 Hash: E082F5728A35CF81B0085BE0EF13531A |
||
' Description: Creates a contact account named MyerKen in the Management organizational unit in a hypothetical domain named fabrikam.com.
Set objOU = GetObject("LDAP://OU=management,dc=fabrikam,dc=com") Set objUser = objOU.Create("contact", "cn=MyerKen") objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |