Note:
Run as logged in User
Change name if required (vpnName = 'MYVPN' )
Change to valid ip address (server = '200.200.200.200')
Provide password in the parameter PASS for pre-shared key. data type should be string
Provide True or False at FlagWinCred as per requirment. True allows WinlogonCredential. False will not use Winlogon Credential.
Comments