Get-GPOReport -All -ReportType Xml | Select-String -Pattern "<Enabled>true</Enabled>" | Select-Object @{Name="GPO";Expression={$_.Context.Node.GPODisplayName}}, @{Name="Setting";Expression={$_.Context.Node.DisplayName}}
Get-GPOReport -All -ReportType html | Select-String "System settings"
Get-GPResultantSetOfPolicy -ReportType HTML -Path "C:\GPOReport.html" -All
https://cloudbrothers.info/en/manage-group-policies-powershell/
No comments:
Post a Comment