Remove-GPO - Overview and Examples

March 05, 2018 0 Comments PowerShell, Group-Policy, Remove-GPO
SYNOPSIS

Deletes a GPO.

DESCRIPTION

The Remove-GPO cmdlet deletes GPO's from Active Directory.

SYNTAX
Remove-GPO [-Domain <String>] [-KeepLinks] [-Server <String>] -Guid <Guid> [-Confirm] [-WhatIf] [<CommonParameters>]

Remove-GPO [-Name] <String> [-Domain <String>] [-KeepLinks] [-Server <String>] [-Confirm] [-WhatIf] [<CommonParameters>]

EXAMPLES
Remove-GPO -Name TestGPO
  • deletes the GPO named TestGPO
You've successfully subscribed to Command Line Ninja
Great! Next, complete checkout for full access to Command Line Ninja
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.
Table fo contents