Hello there,
There is a better solution via elevated powershell:
Add-VpnConnection -Name MY_VPN_NAME -ServerAddress MY_VPN_SERVER -AllUserConnection $true -SplitTunneling $true -AuthenticationMethod MSChapv2 -TunnelType Automatic -EncryptionLevel Required -PassThru
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--