The Network Shell (Netsh) utility lets you configure numerous networking settings of Windows, including IP address and DNS details. If you assign static IP or DNS addresses in your network, you might find it useful to export and import your TCP/IP configuration with Netsh.
To dump the TCP/IP configuration:
netsh -c interface dump > PATH_AND_FILENAME.txt
To import the TCP/IP configuration:
netsh -f PATH_AND_FILENAME.txt