Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh advfirewall mainmode delete rule ?
Usage: delete rule name=|all
- Deletes an existing main mode setting that matches the
name specified. Optionally, profile can be specified.
Command fails if setting with the specified name does not exist.
- If name=all is specified all rules are deleted from the specified
type and profile.
If profile is not specified, the delete applies to all profiles.
Delete a main mode rule with name test:
Netsh advfirewall mainmode delete rule name="test"
NETSH / ADVFIREWALL / MAINMODE / DELETE / RULE
netsh advfirewall mainmode delete rule - Windows Seven - commandDeletes all matching mainmode rules. / Windows Seven netsh, advfirewall, mainmode, delete, rule, cmd, command, Windows, Seven