Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

580 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