computing
  • 0

Solved How To Use Netstat And Redirect To .Txt File

  • 0

hi i need to use netstat and send the results to a text file for a my ip to find an issue ,can anyone help please i am using windows 10 os

Share

1 Answer

  1. open a cmd window or command prompt
    enter: netstat (options) > filename.txt

    filename.txt is in the current directory

    eg: c:\users\yourusername > netstat -a > netstat.txt

    “>” will write the output in the named file. The existing content is overwriten.
    “>>” will append the output to the named file.

    • 0