s! filelocation = path maxfilesize = 1-32767 droppedpackets = ENABLE|DISABLE connections = ENABLE|DISABLE Sets firewall logging ...

%1!s!
      [ [ filelocation = ] path
        [ maxfilesize = ] 1-32767
        [ droppedpackets = ] ENABLE|DISABLE
        [ connections = ] ENABLE|DISABLE ]

  Sets firewall logging configuration.

  Parameters:

  filelocation - Log path and file name (optional).

  maxfilesize - Maximum log file size in kilobytes (optional).

  droppedpackets - Dropped packet log mode (optional).
      ENABLE  - Log in firewall.
      DISABLE - Do not log in firewall.

  connections - Successful connection log mode (optional).
      ENABLE  - Log in firewall.
      DISABLE - Do not log in firewall.

  Remarks: At least one parameter must be specified.

  Examples:

      %1!s! %%systemroot%%\system32\LogFiles\Firewall\pfirewall.log 4096 ENABLE
      %1!s! filelocation=%%systemroot%%\system32\LogFiles\Firewall\pfirewall.log maxfilesize=4096
          droppedpackets=ENABLE

      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 .