Allowing netstat to display the owning executable to listening ports
Tweet
Today I needed to be able demonstarte which ports were ownded by the WDSServer and which ports were owned by the DHCPServer. Netstat I knew to be the
command on needed on my Windows Server 2008 R2 and with a little digging found the switch I needed, -b. This is every day stuff on Linux but I hadn't
really need this on Windows until now. Sure, the GUI resource Monitor is very doos at the same thing but I wanted the command line output that I knew
netsat would offer. This is not difficult but I hope it is useful:
netstat -p UDP -ab

