Comments
-
$ServiceNames = $args.get(0).split('|') = New-Object System.Collections.Generic.List[System.Object] CheckServiceExist ($ServiceName) if (!(Get-Service -Name $ServiceName -ErrorAction SilentlyContinue)) $RunResults.Add("WARNING: $ServiceName does not exist") return $false else{return $true} CheckServiceState ($ServiceName)…
-
Thank you so much for this script link... This makes a lot more sense and now I have a template to build my future monitors with.
-
This is a great answer to what I am looking for. Now the only question I have is how to turn the Status which is a String (i.e. Running, Stopped) to an integer (i.e. 1,2,3)?@
-
I agree with you Mes, no amount of new features is worth the current install going down. I think I will wait for the stable release though there will be hotfixes i want most of the bugs out.
-
Does something similar to this work in say SAM with custom application monitors? I ask because i have a powershell script that i want to run that will give the status and the service$instance name of the SQL services on a server. I get the powershell output and have found a way to make it html ready. Is there a way to…