PowerShell Logo Small

Remove-NetIPsecQuickModeCryptoSet



This is the built-in help made by Microsoft for the command 'Remove-NetIPsecQuickModeCryptoSet', 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 quick mode cryptographic sets that match the specified criteria.

SYNTAX


Remove-NetIPsecQuickModeCryptoSet [-All] [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecQuickModeCryptoSet [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit
<Int32>] [-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecQuickModeCryptoSet [-AsJob] [-CimSession <CimSession[]>] [-Description <String[]>] [-DisplayGroup <String[]>] [-GPOSession <String>] [-Group <String[]>]
[-PassThru] [-PerfectForwardSecrecyGroup <DiffieHellmanGroup[]>] [-PolicyStore <String>] [-PolicyStoreSource <String[]>] [-PolicyStoreSourceType <PolicyStoreType[]>]
[-PrimaryStatus <PrimaryStatus[]>] [-Status <String[]>] [-ThrottleLimit <Int32>] [-TracePolicyStore] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecQuickModeCryptoSet [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-NetIPsecQuickModeCryptoSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] -DisplayName <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecQuickModeCryptoSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore <String>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] -AssociatedNetIPsecRule <CimInstance> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NetIPsecQuickModeCryptoSet cmdlet permanently deletes one or more quick mode cryptographic sets from the specified policy store.


The cmdlet gets one or more quick mode cryptographic 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=288199
Get-NetIPsecRule
New-NetIPsecMainModeRule
New-NetIPsecQuickModeCryptoSet
Open-NetGPO
Save-NetGPO
Set-NetIPsecQuickModeCryptoSet
New-GPO

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Remove-NetIPsecQuickModeCryptoSet



This example removes all of the static local main mode cryptographic sets. This cmdlet is useful for removing any policy that conflicts with the domain GPO.




EXAMPLE 2

PS C:\>Remove-NetIPsecQuickModeCryptoSet -DisplayName "DirectAccess - Phase2 Crypto Set"



This example deletes a set based on the localized name.




EXAMPLE 3

PS C:\>$ipsRule = Get-NetIPsecRule –DisplayName "Transport Mode - CorpNet IPv4 - AuthIP"



PS C:\>Remove-NetIPsecQuickModeCryptoSet –InputObject $ipsRule



This example removes all of the quick mode cryptographic sets that are associated with an IPsec rule.