Using Netsh to Manage Wireless Connections

  • Section(s): Networking
  • Published on Dec 10, 2008.
  • Last Modified on Sep 21, 2008.
  • Last Modified by Chris Sanders.
  • Rated 4 out of 5 based on 2 votes.
Netsh is more powerful now than ever. Here we look at how to use Netsh to manage your wireless network connection properties.

Netsh in Windows Vista has really advanced over previous versions of the tool. It now provides the functionality to allow you to setup and configure wireless profiles via the command line.

You can access these features by using netsh wlan from the command line. Simply typing this will give you a list of commands you can use. Here is how we can create a wireless profile using Netsh on a Windows Vista machine:

Create the wireless network profile:

netsh wlan add profile filename="WLAN-Profile.xml

Configure the profile settings:

netsh wlan connect ssid=”SSIDGoesHere” name=”WLAN-Corporate-Profile”

Show the status of our wireless network interfaces:

netsh wlan show interfaces

This tool provides great flexibility in managing wireless network connections and by scripting these commands you can greatly automate the deployment and configuration of wireless networks.

 

About Chris Sanders

Chris Sanders is a network security analyst for EWA Government Systems Inc. Chris is the author of the book Practical Packet Analysis as well as several technical articles. His personal website at www.chrissanders.org contains a great deal of information, articles, and guides related to network administration, network security, packet analysis, and general information technology.


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?