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

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]

Remarks:

      - Deletes a rule identified by name and optionally by profiles,
        endpoints, ports, protocol, and type.
      - If multiple matches are found, all matching rules are deleted.

Examples:

      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