TLDR ... but there's this:

SET NETWORK TO "PUBLIC"
powershell.exe -windowstyle hidden -Command "Start-Process PowerShell -ArgumentList '\$net = get-netconnectionprofile;Set-NetConnectionProfile...