Saturday, February 9, 2013

Netsh:
Netsh is expanded as Network shell deployed in windows NT and higher systems begining with windows 2000 operating systems. It allows local or remote configuration as an interface.

A common use of Netsh is to reset TCP/IP stack to default.


Common Usage of Netsh Commonds are:


netsh interface ip reset C:\resetlog.txt                                              <<For resettting the log file>>
netsh interface ip set address name="Local Area Connection" static 192.168.1.105 255.255.255.0 192.168.1.1 <<For setting ip address manually>>
netsh interface ip set address name="Local Area Connection" dhcp <<To attain the IP Address through DHCP>>
netsh interface ip add address local 234.234.234.234 255.255.255.0 <<To add secondary ip (Dual IP)>>