PowerShell Logo Small

Remove-NetIPsecQuickModeSA



This is the built-in help made by Microsoft for the command 'Remove-NetIPsecQuickModeSA', 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 an established quick mode security association (SA).

SYNTAX


Remove-NetIPsecQuickModeSA [-All] [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecQuickModeSA [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetIPsecQuickModeSA [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -AssociatedNetIPsecMainModeSA <CimInstance> [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-NetIPsecQuickModeSA [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NetIPsecQuickModeSA cmdlet deletes an established quick mode security association (SA).


Quick mode SAs can be monitored for information like which peers are currently connected to this computer and which protection suite was used to create the SA. To view the
active quick mode SAs with the computer, run the Get-NetIPsecQuickModeSA cmdlet. Use the InputObject parameter, or pipeline, to input the SA into this cmdlet to remove the
association from the computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288200
Get-NetIPsecMainModeSA
Get-NetIPsecQuickModeSA

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Remove-NetIPsecQuickModeSA –PolicyStore ActiveStore



This example removes all of the active quick mode cryptographic sets on the local computer.




EXAMPLE 2

PS C:\>$computer1 = "RemoteMachineName"



PS C:\>$ipsMMSA = Get-NetIPsecMainModeSA –Name "196511" –CimSession $computer1



PS C:\>Remove-NetIPsecQuickModeSA –CimSession $computer1 –InputObject $ipsMMSA



This example removes all of the active quick mode cryptographic sets associated with the specified main mode security association on a remote computer.