Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh ipsec static delete rule ?
Usage:
rule [ name = ]|[ id = ]|[ all ][ policy = ]
Deletes a rule from a policy.
Parameters:
Tag Value
name | id | all -Name of the rule, ID of the rule, or 'all'
policy -Name of the policy.
Remarks: 1. If 'all' is specified, deletes all rules from the policy except
the default response rule.
2. The default response rule cannot be deleted.
3. The IDs will change with every delete.
Examples: 1. delete rule id=1 Policy1
-deletes the rule with id=1 from Policy1.
2. delete rule all Policy1
-deletes all the rules from Policy1.