Maintaining OU Structure With PowerShell
Another blog post hot off the presses. This time it is about creating and maintaining a set of standard OUs and security groups across your clients.
This script is pretty much RMM ready. Just modify it to meet your organization's needs, and drop it into the RMM to run against servers with an Active Directory FSMO role like Domain Naming Master, that way it isn't running on multiple domain controllers in a domain.
Posted Apr 20, 2021, 11:23 AM UTC
Personally not a fan of the OU structure because it doesn’t allow for access separation by OU. No one wants to manage individual item access levels.
Also creating an OU called Company is redundant and a waste of a click. Three levels is the most you should have. Yes it gets populated with thousands of items quickly but that’s what search/query is for.
Instead, you should have the following top level OUs. One is already there for you.
It depends on the client as to how we do it, this is our base, and then new OUs get created under the categories listed.
I like putting them under the "Company" header because it separates everything we do from stuff that is built in.
There's nothing wrong with your layout though. And it would be pretty easy to modify my script to create that layout for you.
Where’s yours?