Lists Windows Firewall properties for the current profile
Set objFirewall = CreateObject("HNetCfg.FwMgr")Set objPolicy = objFirewall.LocalPolicy.CurrentProfileWscript.Echo "Current profile type: " & objFirewall.CurrentProfileTypeWscript.Echo "Firewall enabled: " & objPolicy.FirewallEnabledWscript.Echo "Exceptions not allowed: " & objPolicy.ExceptionsNotAllowedWscript.Echo "Notifications disabled: " & objPolicy.NotificationsDisabledWscript.Echo "Unicast responses to multicast broadcast disabled: " & _objPolicy.UnicastResponsestoMulticastBroadcastDisabled
This is a VB Script, this can be used by saving the file in .vbs file