Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh advfirewall show currentprofile ?
Usage: show currentprofile [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 the active profile. If a parameter
is not specified, all properties are displayed.
Examples:
Display the active profile firewall state:
netsh advfirewall show currentprofile state