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

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

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$$”

That’s all there is to it.

Profile Photo for Taylor Gibb Taylor Gibb
Taylor Gibb is a professional software developer with nearly a decade of experience. He served as Microsoft Regional Director in South Africa for two years and has received multiple Microsoft MVP (Most Valued Professional) awards. He currently works in R&D at Derivco International.
Read Full Bio »