Usage: delete rule name= |all profile=any|current|public|private|domain[,. type=dynamic|static (default=static) Remarks: ...

Usage: delete rule name=|all
      [profile=any|current|public|private|domain[,...]]
      [type=dynamic|static (default=static)]

Remarks:

      - 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.

Examples:

      Delete a main mode rule with name test:
      Netsh advfirewall mainmode delete rule name="test
English
English (United States)
italiano
Italian