netsh wlan connect ssid=your_wifi_ssid name=profile_name ??? code example Example: connect wifi using command line nmcli dev wifi connect <essid> password <key>