Note:
Run as logged in User
Change name if required (vpnName = 'MYVPN' )
Change to valid ip address (server = '200.200.200.200')
Provide True or False at FlagWinCred as per requirment. True allows WinlogonCredential. False will not use Winlogon Credential.