I have been trying to connect to a wireless, secure network using command line.
The simple part works, connecting to a saved network:
C:\>netsh wlan connect name=NAME
Connection request was completed successfully.
However when I disconnect from this network and "forget" the network, I can't seem to find out how to regain connection.
I tried the following commands:
C:\>netsh wlan add profile filename="Test.xml" interface="Wireless Network Connection" user=current
If I'm correct this is wrong and only imports the "Text.xml" profile, which is non-existant. Is there any way how I can connect to a network which doesn't have a profile yet? Or is there a way to create profiles in the command line?