Microsoft Windows [Version 6.0.6001] (C) Copyright 2006 Microsoft Corp. c:\windows>netsh advfirewall consec delete rule ?
Usage: delete rule name=[type=dynamic|static][profile=public|private|domain|any[,...] (default=any)][endpoint1=any|localsubnet|dns|dhcp|wins|defaultgateway|||||][endpoint2=any|localsubnet|dns|dhcp|wins|defaultgateway|||||][port1=0-65535|any (default=any)][port2=0-65535|any (default=any)][protocol=0-255|tcp|udp|icmpv4|icmpv6|any]
- Deletes a name identified by name and optionally by profiles,
endpoints, ports, protocol, and type.
- If multiple matches are found, all matching rules are deleted.
Delete a rule called "rule1" from all profiles:
netsh advfirewall consec delete rule name="rule1"
Delete all dynamic rules from all profiles:
netsh advfirewall consec delete rule name=all type=dynamic
NETSH / ADVFIREWALL / CONSEC / DELETE / RULE
netsh advfirewall consec delete rule - Windows Vista - commandDeletes all matching connection security rules. / Windows Vista netsh, advfirewall, consec, delete, rule, cmd, command, Windows, Vista