connect to wifi command prompt windows 10 code example Example: connect wifi using command line nmcli dev wifi connect <essid> password <key>