netsh
Developer(s) | Microsoft |
---|---|
Initial release | February 17, 2000 |
Operating system | Microsoft Windows |
Type | Command |
License | Proprietary commercial software |
Website | docs |
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.[1] It allows local or remote configuration of network devices such as the interface.[2]
Overview
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.
References
Further reading
- Frisch, Æleen (2001). Windows 2000 Commands Pocket Reference. O'Reilly. ISBN 978-0-596-00148-3.
- Stanek, William R. (2008). Windows Command-Line Administrator's Pocket Consultant, 2nd Edition. Microsoft Press. ISBN 978-0735622623.
External links
- Using Netsh from Microsoft TechNet
- Netsh Commands for Wireless Local Area Network (WLAN) in Windows Server 2008 R2 (includes Windows 7), from Microsoft TechNet. Topic not covered in "Using netsh".
- online tool to build address bind commands
- netsh commands supported by Windows Vista, 7 and Server 2008 (output of "netsh ?")
- Windows Server 2008 R2 and Windows Server 2008 Netsh Technical Reference (chm)