Description of Porqry utility: http://support.microsoft.com/kb/310099

portqry 2.0 : http://support.microsoft.com/kb/832919/en-us

portqry is the CMD line utility and you can download from here: http://www.microsoft.com/download/en/details.aspx?id=17148

but there is also the GUI tool and you can download from here:http://www.microsoft.com/download/en/details.aspx?id=24009

Microsoft list of ports and protocols used by the MS products: http://support.microsoft.com/kb/832017

other useful command line tools for network troublehsooting:

————————————————————-

The portqry tool actually uses a file in your %systemroot%\system32\drivers\etc directory called “Services”.

 

How to use PortQry with powershell ?

http://stackoverflow.com/questions/25816567/passing-portqry-arguments-in-powershell