OU Syntax in AD scripting
Posted on 2006-05-12
I have a script that changes the rights on the property sets on a user. The script works well but I do not know how to have it applied on an OU that is not at the root level.
Here's the code line I need to edit
Set objSdUtil = GetObject("LDAP://OU=testou,DC=company,DC=com")
All I need to know is the proper syntax to apply this script on an OU (users) that is in the following structure: