Manage Group Policy Using PowerShell On Windows Server 2016

In this article, I’ll show you how to use the Windows Group Policy PowerShell Module to manage, deploy and support Group Policy Objects on Windows Server 2016.

Windows Group Policy PowerShell comes with the Group Policy Management Feature as seen below:

To Install the module use:

Add-WindowsFeature gpmc

To view all available cmdlets In the module use:

Get-Command -Module grouppolicy

To view all GPOs available on the domain use:

Get-GPO -Domain test.local -All

To backup all GPOs on the Domain using PowerShell use:

Backup-Gpo -All -Path E:\GPObackup\