Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1986-2001 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 DISABLE
show portopening ENABLE
show portopening verbose = DISABLE
show portopening verbose = ENABLE