richardhicks / aovpn

PowerShell scripts and sample ProfileXML files for configuring Windows 10 Always On VPN
MIT License
160 stars 84 forks source link

New-AovpnConnection.ps1 - Examples Missing Closing Apostrophe #18

Closed mitchnieto closed 2 years ago

mitchnieto commented 2 years ago

Hello Richard,

Under your Examples in the New-AovpnConnection.ps1 script the "AllUserConnection" (Line 24) and "DeviceTunnel" (Line 29) are missing the closing apostrophe on the "-xmlFilePath".

Code block with closing apostrophe:

.EXAMPLE
    .\New-AovpnConnection.ps1 -xmlFilePath 'C:\Users\rdeckard\desktop\ProfileXML_User.xml' -ProfileName 'Always On VPN' -AllUserConnection
    Creates an Always On VPN user tunnel profile named "Always On VPN" for all users.
.EXAMPLE
    .\New-AovpnConnection.ps1 -xmlFilePath 'C:\Users\rdeckard\desktop\ProfileXML_Device.xml' -DeviceTunnel
    Creates an Always On VPN device tunnel profile named "Always On VPN Device Tunnel".

Thanks for your great work! Mitch

richardhicks commented 2 years ago

Good catch! I'll update this now. Thanks!