This is a very basic method of setting up an L2TP VPN using a worklet.
Change the values: vpnName, serverAddress, yourPsk, authMethod
Evaluation Code:
Get-VpnConnection -Name "vpnName"
Remediation Code:
Add-VpnConnection -AllUserConnection -Name "vpnName" -ServerAddress "serverAddress" -TunnelType L2tp -EncryptionLevel Optional -L2tpPsk "yourPsk" -AuthenticationMethod authMethod -Force