s! mode = ENABLE|DISABLE exceptions = ENABLE|DISABLE profile = CURRENT|DOMAIN|STANDARD|ALL Sets firewall operational configuration. ...

%1!s!
      [ mode = ] ENABLE|DISABLE
      [ [ exceptions = ] ENABLE|DISABLE
        [ profile = ] CURRENT|DOMAIN|STANDARD|ALL

  Sets firewall operational configuration.

  Parameters:

  mode - Operational mode.
      ENABLE  - Enable firewall.
      DISABLE - Disable firewall.

  exceptions - Exception mode (optional).
      ENABLE  - Allow through firewall (default).
      DISABLE - Do not allow through firewall.

  profile - Configuration profile (optional).
      CURRENT  - Applies to the active profile.  Active profile can be domain,
                 standard (i.e. private), or public. (default).
      DOMAIN   - Applies to the domain profile.
      STANDARD - Applies to the standard (i.e. private) profile.
      ALL      - Applies to the domain and standard (i.e. private) profile.
                 Does not apply to the public profile.


  Examples:

      %1!s! ENABLE
      %1!s! mode=ENABLE exceptions=DISABLE

      IMPORTANT: "netsh firewall" is deprecated;
      use "netsh advfirewall firewall" instead.
      For more information on using "netsh advfirewall firewall" commands
      instead of "netsh firewall", see KB article 947709
      at http://go.microsoft.com/fwlink/?linkid=121488 .