This is the built-in help made by Microsoft for the command 'Remove-GPO', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Deletes a GPO.
Remove-GPO [-Domain <String>] [-KeepLinks] [-Server <String>] -Guid <Guid> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-GPO [-Name] <String> [-Domain <String>] [-KeepLinks] [-Server <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
The Remove-GPO cmdlet removes the GPO container and data from the directory service and the system volume folder (SysVol).
<
Online Version: http://go.microsoft.com/fwlink/?linkid=287728
Get-GPO
New-GPO
<
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Remove-GPO -guid 50cc3e45-0b14-46dd-8b4d-afa012bc331c -Domain contoso.com -KeepLinks
Description
-----------
Removes the GPO that has the GUID 50cc3e45-0b14-46dd-8b4d-afa012bc331c from the contoso.com domain. Because the KeepLinks parameter is specified, links between the GPO and
all sites, and links between the GPO and all containers in the domain are preserved.
-------------------------- EXAMPLE 2 --------------------------
C:\PS>Remove-GPO -Name TestGPO
Description
-----------
Removes the "TestGPO" GPO from the domain of the user that is running the session (or, for startup and shutdown scripts, the domain of the computer). Because the KeepLinks
parameter is not specified, links between the GPO and all sites, and links between the GPO and all containers in the domain are deleted.