How to manage Wi-Fi cionnections from the command line? I like to do lots of things with it. With the command 'netsh wlan show profiles' you can get the list of all the known wifi-connections. You need these values to operate with them further.

netsh wlan show profiles

If you want to set up the metered connection, you should find the WLAN name in the network list, that you want to make metered. Then, type the following command, replace "YourNetwork" with your network name, and press Enter:

netsh wlan set profileparameter name="YourNetwork" cost=fixed

The command to cancel the metered connection is:

netsh wlan set profileparameter name="YourNetwork" cost=fixed

Now you can limit Wi-Fi connection from the command line.