richardhicks / aovpn

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

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

Closed mitchnieto closed 1 year ago

mitchnieto commented 1 year 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 1 year ago

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