$strClass="organizationalUnit"
$StrOUName="ou=test"
$objADSI=[ADSI]"LDAP://dc=tech-jockey,dc=com"
$objOU=$objADSI.create($strClass,$StrOUName)
$objOU.setInfo()
$StrOUName="ou=test"
$objADSI=[ADSI]"LDAP://dc=tech-jockey,dc=com"
$objOU=$objADSI.create($strClass,$StrOUName)
$objOU.setInfo()
No comments:
Post a Comment
Thanks for showing interest in tech-jockey.