is it possible to connect a Windows 10 PC to a WiFi using a batch script? [migrated]

I need to connect my Windows 10 PC to a WiFi automatically to test the WEP-128 encryption mode in a router. Basically, when I change the encryption mode in the router, I need to connect the PC to its SSID (I know the WEP-128 key). Do you g… Continue reading is it possible to connect a Windows 10 PC to a WiFi using a batch script? [migrated]