Windows PowerShell client not starting
I'm setting up 4 new VMs running Windows Server 2022 Datacenter. Using the same technique that I've used to set up the PowerShell version of the Xymon client over the last few years, I copied the files into C:\Program Files\Xymon\ and then run ".\xymonclient.ps1 install" and ".\xymonclient.ps1 run". For the first time in my experience, this isn't working.
Is using the PowerShell client still recommended for monitoring Windows systems? Is it compatible with Windows Server 2022?
Here is the text I get when I try to start the service from a PowerShell window run as an administrator.
PS C:\Program Files\Xymon> .\xymonclient.ps1 start
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Program Files\Xymon\xymonclient.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
start-service : Failed to start service 'XymonPSClient (XymonPSClient)'.
At C:\Program Files\Xymon\xymonclient.ps1:4139 char:60
+ ... $xymonsvcname).Status -ne "Running") { start-service $xymonsvcname }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
PS C:\Program Files\Xymon>
Any ideas?
Jaime Kikpole Director of Technology |