This is the built-in help made by Microsoft for the command 'Remove-NetIPsecPhase1AuthSet', in PowerShell version 4 - as retrieved from
Windows version 'Microsoft Windows 8.1 Enterprise' 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 all of the phase 1 authentication sets that match the specified criteria.
Remove-NetIPsecPhase1AuthSet [-All] [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TraceP
olicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-Description <String[]>] [-DisplayGroup <String[]>] [-GPOSession <String>] [-Group <String[]>] [-P
assThru] [-PolicyStore <String>] [-PolicyStoreSource <String[]>] [-PolicyStoreSourceType <PolicyStoreType[]>] [-PrimaryStatus <PrimaryStatus[]>] [-Status <String[]>]
[-ThrottleLimit <Int32>] [-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonPara
meters>]
Remove-NetIPsecPhase1AuthSet [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int3
2>] [-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicySt
ore] -DisplayName <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicySt
ore] -AssociatedNetIPsecMainModeRule <CimInstance> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicySt
ore] -AssociatedNetIPsecRule <CimInstance> [-Confirm] [-WhatIf] [<CommonParameters>]
The Remove-NetIPsecPhase1AuthSet cmdlet permanently deletes one or more phase 1 authentication sets from the computer.
This cmdlet gets one or more authentication sets to be deleted with the Name parameter (default), the DisplayName parameter, the Group parameter, or by associated IPs
ec rule. The resulting queried set is removed from the computer.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=288195
Get-NetIPsecMainModeRule
New-NetIPsecMainModeRule
New-NetIPsecPhase1AuthSet
Open-NetGPO
Save-NetGPO
Set-NetIPsecPhase1AuthSet
New-GPO
<
EXAMPLE 1
PS C:\>Remove-NetIPsecPhase1AuthSet
This example removes all of the static local phase 1 authentication sets. This cmdlet is useful for removing any policy that conflicts with the domain GPO.
EXAMPLE 2
PS C:\>Remove-NetIPsecPhase1AuthSet -DisplayName "(DA Client) - Phase 1 Auth Set"
This example deletes a set based on theee localized name.
EXAMPLE 3
PS C:\>$ipsMMRule = Get-NetIPsecMainModeRule –DisplayName "Main Mode Authenticate Computer"
PS C:\>Remove-NetIPsecPhase1AuthSet –InputObject $ipsMMRule
This example removes all of the phase 2 authentication sets that are associated with the main mode rule.