Microsoft Windows [Version 6.0.6001] (C) Copyright 2006 Microsoft Corp. c:\windows>netsh firewall show portopening ?
show portopening
[[ verbose = ] DISABLE|ENABLE ]
Shows firewall port configuration.
Parameters:
verbose - Verbose mode (optional).
DISABLE - Display only summary information (default).
ENABLE - Display all available information.
Examples:
show portopening
show portopening ENABLE
show portopening verbose=ENABLE