Basic netstat on Windows

To see a list of network connections on a Windows machine, use the following command (works both on the command line and in PowerShell):

netstat -ano

To filter the output, pipe it to findstr. For example, to show only established connections, use:

netstat -ano | findstr EST

This shows only lines that include the substring “EST” (as in “ESTABLISHED”).

Leave a Reply

Your email address will not be published. Required fields are marked *