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

GCP: Google Cloud Shell

Google Cloud Shell is a tool for managing resources hosted on Google Cloud Platform! The machine comes pre-installed with the Google Cloud SDK and other popular developer tools.

Microsoft Windows Server 2012 R2 Standard Evaluation Product Key

Microsoft Windows Server 2012 R2 Standard Evaluation D2N9P-3P6X9-2R39C-7RTCD-MDVJX DBGBW-NPF86-BJVTX-K3WKJ-MTB6V