Add Adding-VPN-PS.md

This commit is contained in:
efrick 2025-07-24 12:39:15 -04:00
parent 82719d0189
commit 9c78be1be6

13
Adding-VPN-PS.md Normal file
View File

@ -0,0 +1,13 @@
# Adding a VPN connection via PowerShell
## Generic
```powershell
Add-VpnConnection -Name "MyVPN" -ServerAddress "vpn.example.com" -TunnelType "L2tp" -EncryptionLevel "Required" -AuthenticationMethod MSChapv2 -L2tpPsk "YourPreSharedKey" -RememberCredential
```
## APD Mech
```powershell
Add-VpnConnection -Name "APD Mech" -ServerAddress 98.117.26.22 -TunnelType L2tp -EncryptionLevel "Required" -AuthenticationMethod MSChapv2 -L2tpPsk "APDFixMyT33th1!" -RememberCredential
```