- CheckMates
- :
- Products
- :
- Quantum
- :
- Remote Access VPN
- :
- Re: Connecting checkpoint vpn from powershell
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Connecting checkpoint vpn from powershell
Hi
I want to create VPN connection and disconnect it at the end of my process using power shell script
I tried the script posted here:
Sfter successfuly connecting and disconnecting to checkpoint vpn using the GUI client:
I operate the same connection using the power shell script shown above.
and always getting this exception:
PSMessageDetails :
Exception : System.Management.Automation.RuntimeException: Could not retrieve B4D42709.CheckPointVPN
TargetObject : Could not retrieve B4D42709.CheckPointVPN
CategoryInfo : OperationStopped: (Could not retri...9.CheckPointVPN:String) [], RuntimeException
FullyQualifiedErrorId : Could not retrieve B4D42709.CheckPointVPN
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at <ScriptBlock>, C:\users\tal aruety\downloads\config.ps1: line 79
at <ScriptBlock>, <No file>: line 1
Any ideas how to do this?
Thanks
Tal
- Tags:
- powershell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see that this script is for Check Point Capsule VPN for Windows 10 only (You have to first download an app from Windows store) - and you are using the Endpoint Security VPN for Windows Client instead... See sk67820: Check Point RemoteAccessSolutions for the different client flavors !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thank you for metntioning that.
Though this article does not show CLI\POWERSHELL tools to initiate a vpn connection.
I need a solution that will do the same thing i do with the windows client, just from comman prompt or power shell.
Are you familiar with such a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Endpoint Security VPN Client can be used from Command Line - see Remote Access Clients for Windows 32/64- bit Administration Guide E80.72 and Higher p128ff, Remote AccessClients Command Line:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use user + password + token to connect, can I use CLI/POWERSHELL to connect?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No - see the examples above for possible ways of authentication !
