I want to monitor the automatic running services of a server. After importing the wql with the following WQL-Script:
|Get-WmiObject win32_service -Filter "startmode = 'auto' AND state = 'running'"||select name, startname, exitcode|
and adding the custom WMI sensor with this WQL-Script, i get this error message:
|Could not parse WQL (Code: PE046).|
The namespace used in the sensor is the same like the one in the properties of the WMI Control of the Services and Applications from the Computer Management. I am monitoring other WMI Services, so this can not be any WMI Service configuration error.