Goal - Find all GPO's that have "SomeGroupName" in Delegation Tab.
(Very limited powershell scripting ability)
Just starting to find the proper cmdlet's to solve my problem.
Based on what I have found so far, the logic would be something like:
- Ask what group to find
- Use Get-GPO to get all GPO's (an array I presume)
- Loop through GPO array and use Get-GPPermission to list trustees
- Filter Trustees in each GPO for "SomeGroupName" and save to 2nd array
- write out results from 2nd array.
If anyone has better logic or a cmdlet that does this already, I am all ears.



