In computing, netsh, or network shell, is a command-line utility included in Microsoft's Windows NT line of operating systems beginning with Windows 2000. It allows local or remote configuration of network devices such as the interface.
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, a log file must be provided, 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.
Starting from Windows Vista, one can also edit wireless settings (for example, SSID) using netsh.
netsh can also be used to read information from the IPv6 stack.
The command "netsh winsock reset" can be used to reset TCP/IP problems when communicating with a networked device.