I need to replace one Active Directory security group that has been given rights over many OUs within several Security Roles. There are likely ~300 entries that need to be updated.
I am looking for some advice on how to handle the following task via PowerShell:
On a Security Role, enumerate each assignment of a Trustee over an object, if the Trustee is a specific group then delete the entry and add a new entry for a different Trustee over the same object.
My primary problem is that I cannot seem to enumerate the values for Trustee and objects.
Any advice would be appreciated.
Thank you.
EDIT: FYI the link to the script repository that is referenced in the SDK documentation appears to be broken - http://adaxes.com/scriptrepository