I am looking for a way to use a batch script to turn on or off WLAN connections, but I do not want to require administrator privileges to do so.

However, I have discovered that it is possible to achieve this using the graphical user interface (GUI):

I have been unable to locate a method for accomplishing this task through the command prompt (cmd) that is identical to what I am looking for. The only solutions I have found involve enabling or disabling the network adapter or something similar, which requires administrative privileges.

I would appreciate any assistance with this matter.

Askify Moderator Edited question April 30, 2023