Our company main Wifi ssid is called "#TestRIG". I need to switch SSIDs during the automation test frequently. I tried the command as below.
netsh wlan connect name="#TestRIG"
netsh wlan connect name=^#TestRIG
netsh wlan connect name=\#TestRIG
None of them worked.
C:\Users\admin>netsh wlan connect name=^#TestRIG There is no profile "" assigned to the specified interface.
C:\Users\admin>netsh wlan connect name="#TestRIG" There is no profile "" assigned to the specified interface.
Can anyone help to get the command to escape hash symbol?