Who rated this 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)
Who rated this post