• ARTICLES
SEARCH

How-To Geek

Stupid Geek Tricks: How to Browse and Connect to Wireless Networks From the Command Line

image

We are always on the lookout for geeky ways to impress our friends, and recently we came across a way to connect to our wireless network from the command prompt, so today we’ll show you how to do it as well.

How to Browse and Connect to Wireless Networks From the Command Line

Browsing available wireless networks from the command prompt requires only a single command:

netsh wlan show networks

image

Unfortunately in order to connect to a network, you need to have a network profile for it. This means that you need to have connected to it at least once before. To see what profiles you have available on your machine, use the following command:

netsh wlan show profiles

image

Once you have made sure you have a profile for the network you want to connect to, you can easily connect to it using the network profile name:

netsh wlan connect name=”w1r3l3$$”

image

That’s all there is to it.

Taylor Gibb is a Microsoft MVP and all round geek, he loves everything from Windows 8 to Windows Server 2012 and even C# and PowerShell. You can also follow him on Google+

  • Published 12/30/12

Comments (9)

  1. Lee

    I thought this was also going to include how to browse the web from a command linle, but still useful!

  2. Rocks

    nice trick i like it!

  3. Riddle

    @Lee
    lynx browser :)

  4. mitilini

    Should be useful to many,always interestingly geeky yet easy to understand.High marks!

  5. S. R

    Thank. You,I like to try

  6. Jerry S

    And what if its password protected?

  7. edmenje

    @Jerry S
    Profile contains the password already, and uses it to make connection.

  8. hudahel

    @ jerry s

    “Unfortunately in order to connect to a network, you need to have a network profile for it. This means that you need to have connected to it at least once before”

  9. Luism21

    Is there an equivalent command for linux? Thanks

Enter Your Email Here to Get Access for Free:

Go check your email!