hidden pixel

Netsh Information

In software, netsh, or network shell, is a 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 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.

Starting from Vista, one can also edit wireless settings (e.g. SSID) using netsh.

Example usage

An example usage:

netsh interface ip reset C:\resetlog.txt

Static IP address:

netsh interface ip set address local static 123.123.123.123 255.255.255.0

Two static IP addresses:

netsh interface ip set address local static 123.123.123.123 255.255.255.0
netsh interface ip add address local 234.234.234.234 255.255.255.0

Dynamic IP address:

netsh interface ip set address name="Local Area Connection" source=dhcp

NETSH and IPv6

netsh can also be used to read information from the IPv6 stack, it is more user-friendly than the IPv6.exe utility and provides much of the same level of information.

To view your IPv6 address using NETSH:

netsh interface ipv6 show address

External links

This Microsoft Windows article is a stub. You can help Wikipedia by expanding it.·  ·
·  ·Windows command line programs and built-ins (more)
File system (basic) attrib · cd · chdir · copy · del · deltree · dir · erase · expand · fdisk · format · makecab · md · mkdir · mklink · mountvol · move · ntbackup · rd · rename · ren · rmdir · robocopy · sfc · sys · type · wbadmin · xcopy
File system (advanced) assoc · cacls · chkdsk/scandisk · chkntfs · cipher · comp · compact · convert · defrag · diskcomp · diskcopy · diskpart · diskperf · fc · fixboot · fixmbr · fsutil · ftype · icacls · label · recover · regsvr32 · replace · rsm · subst · tree · verify · vol · vssadmin
Processes at · exit · kill · schtasks · start · sc · shutdown · taskkill · tasklist · tlist
Registry reg · regini
User environment append · chcp · color · date · eventcreate · finger · graftabl · mode · path · pnputil · popd · pushd · runas · set · setver · setx · systeminfo · time · title · ver · wevtutil · whoami · winsat
Text processing · edlin · more · sort
Shell programming break · call · cmd · command · cscript · doskey · echo · endlocal · for · goto · if · pause · powershell · prompt · rem · setlocal · shift · forfiles · choice
Networking arp · atmadm · bitsadmin · cmstp · ftp · getmac · hostname · ipconfig · nbtstat · net · netsh · netstat · nslookup · pathping · ping · rcp · rexec · route · rpcping · rsh · tcmsetup · telnet · tftp · tracert
Searching find · findstr · where
Miscellaneous bcdedit · bootcfg · clip · cls · Environment variables · help · print · debug · exe2bin · lpq · lpr · msiexec · pentnt · w32tm · wmic · powercfg (command)

Categories: Windows communication and services | Windows administration | Windows components

 

The above information uses material from Wikipedia and is licensed under the GNU Free Documentation License.
Some facts may not have been fully verified for accuracy. [Disclaimers]
This page was last archived by our server on Wed Nov 9 10:27:03 2011.
Displaying this page or its contents does not use any Wikimedia Foundation's resources.
The owners of this site proudly support the Wikimedia Foundation.