I'm trying to connect my pi to a secured network through powershell. I connect from my computer to my password enabled wifi. I get the wifi profile from my computer and copy it to the pi. I then add it as a profile. I confirm it is added when I do netsh wlan show profiles. However, when I try to connect the pi to that wifi (netsh wlan connect name=profilename) I get this error: The network specified by profile "profilename" is not available to connect.
When I did this exact same process on a wifi that doesn't require a password, it worked fine. I made sure the xml was updated appropriately as described here: https://docs.microsoft.com/en-us/windows/iot-core/connect-your-device/setupwifi
Not sure what else to do here? Any suggestions are appreciated.