Power shell or command line command to switch Wi-Fi networks

Posted on 2017-10-12
High Priority
Last Modified: 2017-10-16
Please provide me with the Power shell or command line command to switch Wi-Fi networks.

The Wi-Fi network that will be switched to will already have its password stored within Windows 10.

I need to have this command run at a specified time each day to insure that the laptop is on the correct Wi-Fi network that will allow it to backup to a NAS on the correct Wi-Fi network.
Question by:Knowledgeable
1 Comment
LVL 23

Accepted Solution

Jeremy Weisinger earned 3000 total points
ID: 42328768
You can use netsh to do that:
netsh wlan connect name="Name of profile"

Open in new window

To see the names of the profiles you can run this:
netsh wlan show profiles

Open in new window


Featured Post

WEBINAR: GDPR Implemented - Tips & Lessons Learned

Join the WatchGuard team on Thursday, March 29th as we recount some valuable lessons learned in weighing the needs of a business against the new regulatory environment, look ahead at the two months left before implementation, and help you understand the steps you can take today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This tutorial shows a simple method of resetting a forgotten Windows 10 Password, on both a Physical and VM VirtualBox machine without the need for any third-party tools. Both Local and Microsoft Connected accounts are covered. Enjoy...
Read this tutorial to learn how to fix repeating password error prompts when setting up Gmail IMAP with Microsoft Outlook. The entire process is described with step by step, illustrated instructions. Enjoy...
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decadeā€¦

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question