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

Online Learning: Free to Learn, Learn to Free

Photo Credit:  Gerd Altmann - pixabay.com Just make time to keep learning, practicing, and sharing.

Synology: Commonly Used Commands

Commonly used commands via ssh with Synology NAS.

Install the .NET Core Windows Server Hosting bundle

Remember to schedule in advance, since IIS must be reset after installing .NET Core Windows Server Hosting bundle.