At the custommer I needed to add SSTP VPN to all the laptops via GPO. But SSTP vpn profile can’t  be created in GPO. So I looked further and found this at Microsoft https://technet.microsoft.com/itpro/powershell/windows/vpnclient/add-vpnconnection

Now I created this powershell script

Add-VpnConnection -Name "<CONNECTION NAME>" -ServerAddress "<SERVER OR PUBLIC IP>" -TunnelType "Sstp" -EncryptionLevel "Required" -AuthenticationMethod MSChapv2 -UseWinlogonCredential -AllUserConnection -RememberCredential -PassThru

Add it to a GPO and the SSTP VPN connection is created.

Leave a Reply

Your email address will not be published. Required fields are marked *