Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh advfirewall firewall show rule ?
Usage: show rule name=[profile=public|private|domain|any[,...]][type=static|dynamic][verbose]
Remarks:
- Displays all matching rules as specified by name and optionally,
profiles and type. If verbose is specified all matching rules are
displayed.
Examples:
Display all dynamic inbound rules:
netsh advfirewall firewall show rule name=all dir=in type=dynamic
Display all the settings for all inbound rules called
"allow messenger":
netsh advfirewall firewall show rule name="allow messenger" verbose