Question: how to connect wifi to laptop using cmd?
Answer: Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to view the available network profiles and press Enter: ...  Confirm the wireless network profile with the settings you want to use.