Pureinfotech Forums

How to output TCP/IP configuration to text file using Command Prompt on Windows 10?


If you need to get the TCP/IP configuration information of your device extracted into a text file, you can quickly do this with a single command-line.

  1. Open Start.

  2. Search for Command Prompt, and click the result to open the console.

  3. Type the following command to out your computer’s TCP/IP configuration to a text file and press Enter:

    ipconfig /all > ipconfig.txt

If you’re only interested on getting the basic TCP/IP configuration, use the same command without the /all switch.