Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh advfirewall show allprofiles ?
Usage: show allprofiles [parameter]
Parameters:
state - Displays whether Windows Firewall with Advanced
Security is on or off.
firewallpolicy - Displays default inbound and outbound
firewall behavior.
settings - Displays firewall properties.
logging - Displays logging settings.
Remarks:
- Displays the properties for all profiles. If a parameter
is not specified, all properties are displayed.
Examples:
Display the firewall state for all propfiles:
netsh advfirewall show allprofiles state