How can I connect to a wifi in powershell just like through GUI but by using code? what commands do I use? I know the SSID and the password.
EDIT: I have never connected
netsh wlan connect ssid=YOURSSID name=PROFILENAME
this should be it...
EDIT: Try this, just worked for me :)
netsh wlan connect ssid="YOURSSID" key="YOURPW"