How to Show all the previously connected WiFi Networks using CMD in Windows?

Wi-Fi(Wireless Fidelity) Launched in September 1997 is affiliated with WLAN (Wireless Local Area Network).
It is a wireless communication technology that uses radio waves to provide a high-speed network and Internet connection.
Sometimes there is a need to know the previously connected WiFi networks to get details on some network. There is a wide range of Softwares available for the same. But, this can be done easily with the use of the command prompt of the windows.

To show the History of previously connected WiFi networks using command-prompt of windows, follow the steps given below:

Step 1: Open Command prompt by typing ‘cmd’ in the search bar and press enter.

Step 2: Now type the following command and press Enter:

netsh wlan show profile

All the previously connected WiFi networks are now visible.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :


Please write to us at to report any issue with the above content.