[Xymon] PSClient install script

Jonathan Trott jonathan.trott at crosspoint.com.au
Sun Mar 8 21:43:39 CET 2020

I have most of what you need using vbs - was too hard to get powershell to execute reliably without a signing certificate.
Put this vbs file in the same folder as all the client pieces and run it, it will ask you to confirm the hostname and then install all the pieces and ask you if you want to start the service. You will probably want to edit the script to at least change the address of the xymon server.



On 07/03/20, 18:02, "Xymon on behalf of IO Support" <xymon-bounces at xymon.com on behalf of support at ionetworkadmin.com> wrote:

Hi, has someone created a single script or executable that end users can 
easily run that will install the client without me having to manually 
sit at each workstation and download and run all the commands by hand.  
Probably easiest would be a zip file that contains an 'install.bat' that 
performs the following functions.

1. Create new xymon folder in C:\Program Files\
2. Extract preconfigured Xymon PSClient xml, ps1, and nssm files from 
zip and save them in the new C:\Program Files\xymon\ folder while making 
sure that Windows hasn't blocked them.
3. Install the client by running the following PS commands with Admin 
privileges.  I've attempted a single script for this but can't get it to 
     Set-ExecutionPolicy RemoteSigned
     cd 'C:\Program Files\xymon\'
     .\xymonclient.ps1 install
     .\xymonclient.ps1 start

Thank You,
Kris Springer

Xymon mailing list
Xymon at xymon.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5093 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200308/0004dc94/attachment.bin>

More information about the Xymon mailing list