Tuesday, October 23, 2012

Configuring Network Settings From The Command Line Using NETSH


 
 
 
So recently we were tasked with performing a network configuration change for a customer that had the need to add multiple IP addresses to their network card on server all in remote sites. Logging into each one of these machines via RDP (Windows servers) in this scenario would have been tedious..
 
Do you have the need to locally or remotely, display or modify the network configuration of a computer/server? do you prefer the streamline of the command-line? 
 
If so then the NETSH command can prove useful for you.
 
 NETSH also provides a scripting feature that allows you to run in batch mode.
 
If you are looking to script against a multiple numbers of machines then NETSH additionally can save a configuration script in a text file to replicate outputs/setting changes to other servers.
 
There are many commands and switches contained within the NETSH command. 
 
By typing the "/?" switch for NETSH, the help menu which is actually quite helpful can be accessed..
 
 
 
Enjoy!

No comments:

Post a Comment