CmdID / PowerShell / Cmdlets / Remove
Remove-NetIPsecMainModeSA
Removes an active main mode security association (SA). Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AllIndicates that all of the main mode security associations within the specified policy store are removed.-AsJobRuns the cmdlet as a background job.-AssociatedNetIPsecQuickModeSAGets the quick mode security associations associated with the given main mode security association.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-InputObjectSpecifies the input object that is used in a pipeline command.-Name, -IDSpecifies that only matching main mode rules of the indicated name are removed.-PassThruReturns an object representing the item with which you are working.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.