This command line tool can be used to easily add, delete and configure VPN tunnels to Check Point gateways in Check Point VPN Plugin for Windows 8.1. It is usable from the command line, or can be called by user-written scripts.
In order to use the tool, download the attached config.ps1 file to your local disk first.
Note: On the download page, you can right-click the Download button and save it as a .txt file. After downloading, you will need to change the extension of the file to .ps1.
- Once downloaded, open PowerShell command prompt (Press the [Win]+[R] keys combination, then type the word "powershell" and press Enter).
- In the command prompt, change the working directory to the one you downloaded the "config.ps1" script to, and launch the script with ".\config.ps1". Note that PowerShell script execution must be unrestricted for the script to run.
Note: To change the PowerShell to Unrestricted policy (Run Windows PowerShell in administarator mode) follow this command:
PS C:\Users\admin\Desktop> Set-ExecutionPolicy Unrestricted
To add/refresh a VPN connection:
config.ps1 -gateway GATEWAY [-remove] [-name NICKNAME] [-force]
[-debug LEVEL] [-timeout TIMEOUT] [-port PORT]
[-fingerprint FINGERPRINT -cn CN] [-auth AUTH]
[-regkey REGKEY] [-p12file P12FILE] [-sso true|false]
[-lowcost true|false] [-routes ROUTE-LIST]
To remove a VPN connection:
config.ps1 -name NAME remove
The following parameters can be used: