Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Gnarl
Explorer

Pushing Powershell scripts in Harmony

Hi,

I'm new to CheckPoint, still learning the ropes. I recently updated a bunch of clients to 86.40 which allows me to push scripts. 

Trying to follow this guide using the web UI. My script fails with the following output: 

x86 : The term 'x86' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:49
+ -ExecutionPolicy ByPass -File C:\Program Files (x86)\CheckPoint\Endpo ...
+                                                 ~~~
    + CategoryInfo          : ObjectNotFound: (x86:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

It appears it's not putting quotes around the -File parameter which is pointing to a path with a space in it.

0 Kudos
(1)
1 Reply
the_rock
Legend
Legend

Maybe worth opening a TAC case, though not sure level of support for the scripts, but you can ask. Im not script expert by any means, but logically, looking at what you attached, it would appear it does not like something with the quotes or path itself.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events