windows net command

how to use nestat and its options

netstat tips and tricks for windows servers


netstat -a -b -o > test.txt
netstat -a -b -o | find "LISTENING" > test.txt

-a: show all ports and connections

-b: show which programs are using the ports

-o: show process id

windows netstat command line options

Search for: windows netstat command line options