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 Administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close