After reviewing multiple posts on the internet, I still cannot find a solution that will allow me to toggle AirPlane mode for Windows 8 from either CMD or PowerShell.
Does anybody have a solution that expressly uses either of these options?
I am not aware of a way to toggle the airplane switch. But you can easily turn off all your radios using powershell in windows 8 using the Network Adapter Cmdlets
Use Get-NetAdapter
to see all your adapters, bluetooth\wifi\ethernet
Get-NetAdapter
You can disable a specific adapter by its index\name\description:
Disable-NetAdapter -Name "Wi-Fi"
Or you can just disable them all like so:
Disable-NetAdapter *
And turn them back on
Enable-NetAdapter *
Note: You will need to run Powershell as admin to execute the Disable-NetAdapter
and Enable-NetAdapter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With