Skip to main content

Export All Group Policy Objects

PS C:\Users\Administrator> Import-Module GroupPolicy
PS C:\Users\Administrator> $today = Get-Date -F yyyyMMdd
PS C:\Users\Administrator> $domain = "practicehabits.net"
PS C:\Users\Administrator> Get-GPOReport -All -ReportType XML -Domain $domain -Path C:\Audit\GPOReportsAll-$today.xml
PS C:\Users\Administrator> Get-GPOReport -All -ReportType HTML -Domain $domain -Path C:\Audit\GPOReportsAll-$today.html

Popular posts from this blog

Microsoft AI Shell: Notes

AI Shell

VMware: vSphere PowerCLI 5.5 Release 2 Patch 1

https://my.vmware.com/group/vmware/get-download?downloadGroup=PCLI550R2 vSphere PowerCLI 5.5 Release 2 Patch 1

AWS Lightsail: Notes

One of ways to learn AWS is start with https://aws.amazon.com/lightsail/ , first month is free.