This is a very basic method of setting up an L2TP VPN using a worklet.
Change the values: vpnName, serverAddress, yourPsk, authMethod
Evaluation Code:
1 line
Get-VpnConnection -Name "vpnName"Remediation Code:
1 line
Add-VpnConnection -AllUserConnection -Name "vpnName" -ServerAddress "serverAddress" -TunnelType L2tp -EncryptionLevel Optional -L2tpPsk "yourPsk" -AuthenticationMethod authMethod -ForceThis discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on Slack