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.
Search for Command Prompt, and click the result to open the console.
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.