# RSoP (Resultant Set of Policy) wizard rsop.msc

Get-GPO -Name "Default Domain Policy" | New-GPOReport -ReportType Html -Path "GPOReport.html"

gpresult /h ComputerReport.html /scope computer

| Action | Command | Description | | :--- | :--- | :--- | | | Get-GPO -All | Lists every GPO in the domain. | | Create a new GPO | New-GPO -Name "MyNewPolicy" | Creates a blank GPO. | | Link a GPO | New-GPLink -Name "MyNewPolicy" -Target "OU=Sales,DC=domain,DC=com" | Links a GPO to a specific OU. | | Remove a Link | Remove-GPLink -Name "MyNewPolicy" -Target "OU=Sales,DC=domain,DC=com" | Unlinks a GPO from an OU. | | Backup All GPOs | Backup-GPO -All -Path "C:\GPOBackups" | Backs up all policies to a folder. | | Restore GPO | Restore-GPO -Name "MyNewPolicy" -Path "C:\GPOBackups" | Restores a specific policy from backup. |

If you are using older scripts or Windows Server 2003/2008 environments, you might use gpmc.exe . This is less common now but still supports automation.

# Current user and computer (HTML report) gpresult /h GPReport.html

gpresult /s RemotePC /user DOMAIN\Username /h DetailedReport.html

gpmc.msc

: Type gpmc.msc or simply gpmc and hit Enter . PowerShell : Type gpmc.msc directly into the console. Essential PowerShell GPMC Cmdlets

Here are the main for the Group Policy Management Console (GPMC) on Windows: