Microsoft Windows [Version 6.0.6001] (C) Copyright 2006 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