PowerShell: Install/Add Group Policy Management Console

PowerShell

Run the following to install the Group Policy Management Console feature:

Install-WindowsFeature –Name GPMC

Run the following on older server OS running earlier versions of PowerShell:

Import-Module ServerManager
Add-WindowsFeature –Name GPMC

Reference:
Install-WindowsFeature : https://docs.microsoft.com/en-us/powershell/module/servermanager/install-windowsfeature?view=windowsserver2022-ps
Import-Module : https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/import-module?view=powershell-7.2

Leave a comment