Inside the Settings app, click on the Network & internet ... Rename Wi-Fi Network Adapter using Command Prompt on Windows 11/10 This option helps to rename Wi-Fi, Ethernet, or some other network ...
So, you can easily disable or enable a WiFi connection in Windows 10 using Command Prompt or Powershell app. Just enter a disabling command and it will turn off WiFi connection on your computer.