superfletch Posted February 9, 2012 Posted February 9, 2012 Hi there, I need to create a number of sub OU's in active directory underneath one existing OU. I've created the first (top-level) OU via CSVDE but I'm having trouble working out how to create the child OU's This is the CSV file I used to create the initial OU... DN,instanceType,distinguishedName,objectCategory,objectClass,ou,name "OU=department,DC=school,DC=local",4,"OU=department,DC=school,DC=local","CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=school,DC=local",organizationalUnit,department,department So - underneath department I'd like to create a bunch of other OU's, I want to use CSVDE really. Anyone?? TIA
superfletch Posted February 9, 2012 Author Posted February 9, 2012 No worries - I've done it... Here's how (see the bits I've added in red) DN,instanceType,distinguishedName,objectCategory,objectClass,ou,name "OU=department_name,OU=department,DC=school,DC=local",4,"OU=department_name,OU=department,DC=school,DC=local","CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=school,DC=local",organizationalUnit,department_name,department_name
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now