Xymon Mailing List Archive search

Powershell external scripts

list Steve Brown
Mon, 3 Jul 2017 14:53:56 +0000
Message-Id: <user-9737bb60624f@xymon.invalid>

Thank you for the reply. I have a bat file in the "<externalscriptlocation>" folder but it is not being executed. If I schedule it through the Windows Task scheduler it does get executed.  Is there something else I need to do in the xymon powershell to have it execute the bat file?  It appears I’m missing something.
Thank you for your help
Steve

From: David Boyer [mailto:user-a6c09f28d9d2@xymon.invalid]
Sent: Sunday, July 02, 2017 2:59 PM
To: Steve Brown <user-a23886790dfc@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] Powershell external scripts

The "<externalscriptlocation>" is the folder where the scripts are located. They can be written in anything you like.

Dave

On Thu, Jun 29, 2017 at 11:13 PM, Steve Brown <user-a23886790dfc@xymon.invalid<mailto:user-a23886790dfc@xymon.invalid>> wrote:
Hi,
What format to external scripts <externalscriptlocation> need to be?  Can they be windows bat files or do they need to be powershell .ps1 scripts or something else?
Thanks
Steve