- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
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
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 !
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?
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:
I use user + password + token to connect, can I use CLI/POWERSHELL to connect?
No - see the examples above for possible ways of authentication !
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY