PowerShell WiFi network automation capability

Hello,

I am a noob with PowerShell. However, I have a problem where I am trying to automate the process of getting my WiFi network interface card to connect to a Open WiFi access point. I tried using netsh but it failed because I cannot build a profile for it. So basically now I am trying to figure out if I can use PowerShell to get the WiFi adapter to physically connect to a open network access point. Is this possible ?

Thanks,
Joe

Links below will help you in identifying wireless networks.

https://devblogs.microsoft.com/scripting/get-wireless-network-ssid-and-password-with-powershell/

https://mcpmag.com/articles/2017/06/22/viewing-wireless-networks-with-powershell-legacy-commands.aspx