Share via


Create OU in bulk in Active directory,

Question

Saturday, April 6, 2019 1:17 PM

Hi All,

We are going to restructure our AD environment in a pure new Windows Server 2012R2 like as below .  How to bulk create OUs in hierarchy ? We have nearly 500 OUs and many hierarchies.... Thanks in advance.

Regards,

Sky 

All replies (2)

Saturday, April 6, 2019 1:37 PM âś…Answered | 2 votes

Hi The easiest way is to use powershell script. This script will help you:

https://gallery.technet.microsoft.com/scriptcenter/Create-OU-Structure-in-ab5bfe83

https://gallery.technet.microsoft.com/scriptcenter/Bulk-import-of-organization-82cb9ebe

The second one is more helpful for your scenario 


Monday, April 8, 2019 2:27 AM

Hi,

I am glad to hear that your issue was successfully resolved.

If there is anything else we can do for you, please feel free to post in the forum.

Have a nice day!

Lavilian

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].