Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...