Posted By

laurenceosx on 10/20/09


Tagged

windows sysadmin


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

adkatrit
Tyster
thastyle


Windows - Get Open Ports and associated Process ID with NETSTAT


 / Published in: DOS Batch
 

  1. netstat -a -b -o

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: laurenceosx on January 16, 2011

add the -n switch to make report run a lot faster (resolving ips to names slows it down)

netstat -a -b -o -n

You need to login to post a comment.