Add SSTP VPN connection via Powershell

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¬†

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.