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 first published in August 2001

Dig deeper on Network Administration

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close