title: Creating a VPN connection in PowerShell
body: <p>I'm using the following PowerShell command to create VPN Connection for the native Windows VPN client</p>
  
  <pre><code>Add-VpnConnection -Name "VPN" -ServerAddress "vpn.randomdomain.com" -TunnelType L2TP -L2tpPsk "SuperSecurePassword" -Force -AuthenticationMethod MSChapv2 -SplitTunneling $True -EncryptionLevel "Optional"
  </code></pre>
  
  <p>And it works perfectly! However, I'd like for the "Automatically use my Windows logon name and password" (and domain, if any) Checkbox (Under MS-CHAP v2) to be checked as well. How do I add that to my command ?</p>