NETSH Tool   Leave a comment

How to Use the Netsh.exe Tool and Command-Line Switches

Netsh.exe is a tool an administrator can use to configure and monitor Windows-based computers at a command prompt. With the Netsh.exe tool, you can direct the context commands you enter to the appropriate helper, and the helper then carries out the command. A helper is a Dynamic Link Library (.dll) file that extends the functionality of the Netsh.exe tool by providing configuration, monitoring, and support for one or more services, utilities, or protocols. The helper may also be used to extend other helpers.

If You want to set your IP on a server or changed it quickly.

netsh interface ip set address name="Local Area Connection" static 10.20.30.10 255.255.255.0 10.20.30.253
netsh interface ip set dns name="Local Area Connection" static 10.20.30.100
netsh interface ip add dns name="Local Area Connection" 10.20.30.253

On the Set is Set the first DNS server on ADD , add a second DNS server.

 

Or Do a Wireless connection reset

netsh interface set interface "Wireless Network Connection" DISABLED
netsh interface set interface "Wireless Network Connection" ENABLED

 

Play with Netsh If you want to setup a windows 2008R2 Core server you must(better) use Netsh.

WordPress Tags: NETSH,Tool,Command,Line,administrator,context,commands,helper,Dynamic,Link,Library,configuration,services,server,interface,Local,Area,Connection,Network,Play,setup,computers,protocols,helpers

Advertisements

Posted January 24, 2011 by Robert Smit [MVP] in Tools

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

  • Twitter

  • %d bloggers like this: