[Xymon] PSClient install script

IO Support support at ionetworkadmin.com
Wed Mar 4 19:36:25 CET 2020


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 
work.
     Set-ExecutionPolicy RemoteSigned
     cd 'C:\Program Files\xymon\'
     .\xymonclient.ps1 install
     .\xymonclient.ps1 start

-- 
Thank You,
Kris Springer




More information about the Xymon mailing list