Once I was asked for making our Group Policy Objects’ Report for Audit purposes I’ve started to search the best and the simplest way to do this. I have found SDM GPMC PowerShell Cmdlets 1.4 with which help it is possible to make the Report for each GPO with a prefix where it was linked.
Get-GPO -All -Domain domain.com | foreach `
{
$name = $_.DisplayName;
$prefix = Get-SDMGPLink -Name $name | foreach {$_.name};
Get-GPOReport $_.id -ReportType HTML -Domain domain.com -Path e:\Report\$prefix.$name.html
}
P.S. I am using:
This is really useful – totally should be part of the Group Policy Management console…
I was wondering if you might help me – I am trying to report on GPOs in exactly the way you are above, although I need to report back OUs that the GPO is linked to on child domains.
Is this possible?