A common use of netsh is to reset the TCP/IP stack to default, known-good parameters, a task that in Windows 98 required reinstallation of the TCP/IP adapter. In this mode you must provide a log file, which will be filled with what values netsh affected.
Netsh, among many other things, also allows the user to change the IP address on their machine.
netsh interface ip reset C:resetlog.txt
Static IP address:
netsh interface ip set address local static 184.108.40.206 255.255.255.0
Two static IP addresses:
netsh interface ip set address local static 220.127.116.11 255.255.255.0 netsh interface ip add address local 18.104.22.168 255.255.255.0
Dynamic IP address:
netsh interface ip set address name="Local Area Connection" source=dhcp
To view your IPv6 address using NETSH:
netsh interface ipv6 show address