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

Synology: Empty Recycle Bin

How to empty Recycle Bin. Control Panel > Shared Folder > Action > Empty al Recycle Bins Synology: Empty Recycle Bin

Assembly on Linux with NASM

Practice Assembly on Linux with NASM - Netwide Assembler

Learn IBM z/OS