Dirk,
I don't read German, but I can guess what might be wrong. When I downloaded the script it was blocked from executing by Windows. I had to right click on the script, select properties, and there was an unblock button. It only had to be done once. That property stays with the script when you copy it to other computers.
Scot Kreienkamp
-----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Dirk Kastens Sent: Thursday, March 12, 2015 4:50 AM To: xymon at xymon.com Subject: Re: [Xymon] Xymon Powershell Windows client
Hi,
I just downloaded the latest version of the Powershell client. I tried to install ist on a 64bit Windows 7 machine. The installation works, but I can't get the service to start. The first thing is, that powershell complains about the xymonclient.ps1 not being digitally signed. So I set the execution policy to unrestricted. When I try to start the service I get the following message:
PS C:\Program Files\xymon> .\xymonclient.ps1 start start-service : Fehler beim Starten des Diensts "XymonPSClient (XymonPSClient)". In C:\Program Files\xymon\xymonclient.ps1:2708 Zeichen:60
start-service $xymons ...if((get-service $xymonsvcname).Status -ne "Running") {+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand -------------------------------------------- When I try to start the service manually with start-service I get: -------------------------------------------- PS C:\Program Files\xymon> Start-Service XymonPSClient Start-Service : Fehler beim Starten des Diensts "XymonPSClient (XymonPSClient)". In Zeile:1 Zeichen:1 + Start-Service XymonPSClient + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand -------------------------------------------- Any ideas what could be wrong? Dirk
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.