I need to create new OUs in our AD structure and I'm looking for a scripted/automated way to handle this. Here's the goal:
We have several OUs based on an office's global location and we are adding new offices. I need to be able to duplpicate the existing structure from a current office as a template to create the new one.
I'd like to duplicate all the containers, ACLs, delegation of authority settings and group policy settings.
I could use cvsde and dsrevoke manually but I'm looking for a way to automate the process so that each time its done the results are the same.
Does anyone have a script that does this or can someone point me to a source for such a thing?
Thanks in advance.
We have several OUs based on an office's global location and we are adding new offices. I need to be able to duplpicate the existing structure from a current office as a template to create the new one.
I'd like to duplicate all the containers, ACLs, delegation of authority settings and group policy settings.
I could use cvsde and dsrevoke manually but I'm looking for a way to automate the process so that each time its done the results are the same.
Does anyone have a script that does this or can someone point me to a source for such a thing?
Thanks in advance.