|
Now we have already disabled the Wi-Fi interface. So the next step would be to turn it back on. In this case, we don't need to change much from what we did before. We should run a similar command where we only change ENABLED to DISABLED. So it will look like this: netsh interface set interface name = "Network-name" admin = ENABLED .
In our case, where the interface name is Wi-Fi, the Whatsapp Number List command would be netsh interface set interface name = "Wi-Fi" admin = ENABLED.
As we can see in the picture, once we run any command, nothing more appears. You just have to wait a few seconds for it to run (in case of network activation, it takes a little longer) and you're done.
So by following these simple steps, we can enable or disable Wi-Fi in Windows 10 from the command line. We don't need to install anything else, just know what the network interface name is and run it as we have shown.
Disconnect Wi-Fi in the command line
We have explained how to disable Wi-Fi completely. This means we won't be able to connect to any network unless we turn it back on. But what if we want to disconnect a specific network? We can also do this from the command line.
We return to Start and open the command line and this time let's run netsh wlan disconnection . This way we turn off Wi-Fi. We will automatically disconnect from the network, in case we are in.
We can also connect to a specific network. We should run the command netsh wlan connect = "network name" . You just need to change "network-name" to the name of the specific network.
In short, through the Windows 10 command line, we can control Wi-Fi. We saw how we can disable it, disconnect it or connect to a specific network. Simple steps that can be useful in some cases to solve some errors.
|
|