I’m trying to create a report of all linked group policy objects.
I found this command which works for a single GPO
[XML]$GroupPolicy = Get-GPOReport -Name GPOName -ReportType XML
If I change the command to Get-GPOReport -All it lists nothing.
This command Get-GPOReport -All Type XML does put all the info I need into an XML I’m just not sure how to parse it and pull out what I need.