PowerShell Logo Small

Remove-NetIPsecPhase1AuthSet



This is the built-in help made by Microsoft for the command 'Remove-NetIPsecPhase1AuthSet', 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.

SYNOPSIS

Deletes all of the phase 1 authentication sets that match the specified criteria.

SYNTAX


Remove-NetIPsecPhase1AuthSet [-All] [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-Description <String[]>] [-DisplayGroup <String[]>] [-GPOSession <String>] [-Group <String[]>]
[-PassThru] [-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] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore]
-DisplayName <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore]
-AssociatedNetIPsecMainModeRule <CimInstance> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore]
-AssociatedNetIPsecRule <CimInstance> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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 IPsec
rule. The resulting queried set is removed from the computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288195
Get-NetIPsecMainModeRule
New-NetIPsecMainModeRule
New-NetIPsecPhase1AuthSet
Open-NetGPO
Save-NetGPO
Set-NetIPsecPhase1AuthSet
New-GPO

REMARKS

<

Examples


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.