Toggle Windows 10 Wi-Fi using command line

1149570 pts.
Tags:
Wi-Fi
Windows 10
I'm trying to connect to my wireless network (Wi-Fi) using the command line when it's switched off but I keep getting this error message:
Function WlanGetAvailableNetworkList returns error 2150899714:

The wireless local area network interface is powered down and doesn't support the requested operation.
Here's the command I tried to use: netsh wlan connect What should I try? Thanks so much.
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    Are you looking to toggle wi-fi access or the actual login connection? "netsh wlan connect" doesn't work if Wi-Fi toggle switch is off.
    134,635 pointsBadges:
    report
  • ToddN2000
    If you want some more info on this it's been discussed here.
    134,635 pointsBadges:
    report
  • Subhendu Sen
    Did you try work offline from browser or just check the Wi-Fi? Is this command work, netsh wlan show profile. However, netsh may not work when WiFi toggle is off.
    140,720 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: