CmdID

CmdID / PowerShell / Cmdlets / Remove

Remove-GPO

Removes a GPO. Windows Server PowerShell reference

From the Windows Server PowerShell reference 7 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

7 in the Windows Server PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-Domain, -DomainNameSpecifies the domain in which you want to remove a GPO.
-Guid, -ID, -GPOIDSpecifies the GPO to remove by its globally unique identifier (GUID).
-KeepLinksIndicates that the cmdlet preserves the links to the GPO in the specified domain, including OUs, and all sites when the GPO is removed.
-Name, -DisplayNameSpecifies the GPO that this cmdlet removes by its display name.
-Server, -DCSpecifies the name of the domain controller that this cmdlet contacts to complete the operation.
-WhatIf, -wiShows what would happen if the cmdlet runs.