Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Copy OU Permissions and Groups

$
0
0

I have existing OUs but want to copy permissions and groups to a newly named OU and then have the names of the groups match the names of the newly created OU.

Example:
Existing OU named: GR8
Group names: ‘GR8′ Admin Users, ‘GR8′ Regular Users, etc

I would love a .PS1 that would prompt for the OU Name and OU Groups and then copy the exact permissions of an existing OU.
Create new OU – ABC, copy same permissions/groups as GR8 but have ABC instead of GR8 in the names for all the associated groups, permissions, etc.

Sorry I know this sounds kind of crazy but hopefully someone understands what I am trying to do!

Thanks,
Trevor


Viewing all articles
Browse latest Browse all 13067

Trending Articles