Powershell command for W10 VPN on login screen

Add-VpnConnection -Name MY_VPN_NAME -ServerAddress MY_VPN_SERVER -AllUserConnection $true -SplitTunneling $true -AuthenticationMethod MSChapv2 -TunnelType Automatic -EncryptionLevel Required -PassThru

 

 

https://serverfault.com/questions/749156/on-windows-10-how-do-i-setup-a-vpn-client-so-that-all-users-can-use-it-i-e-av

Back to Top