Problem solve Get help with specific problems with your technologies, process and projects.

Output Netstat to text file

In an addendum to a previous tip, one of our users points out the ability to send Netstat output to a file.

Regarding the "Monitor Windows connections with Netstat" tip by Marnus Pieters, you can also send the output to...

a file.

For example, netstat -a -p tcp > netstat.txt writes all TCP connections and listening ports to the file netstat.txt. This can be useful when performing remote support (i.e. help desk) and you need your end user to provide you this type of info.

This was last published in August 2001

Dig Deeper on Network Infrastructure

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close