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

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events