News:

We really need your input in this questionnaire

Main Menu

WMI method call

Started by technak, March 09, 2011, 03:09:19 PM

Previous topic - Next topic

technak

Hello,
I want to monitor one of my https site and I decided for WMI but if I want to check application status I need to call WMI method GetStatus as in included screenshots. Is it possible to call it via standard WMI.Query() ? Now I am using external paramater which call my vbs script it is working fine but if it can be done via WMI.Query it will be better :-)

Thanks and regards,
MK

Victor Kirhenshtein

Hi!

First of all, I'm not an expert in WMI - so maybe I'm wrong. But what I understand it, it's not possible to call WMI methods using WQL - and WMI.Query is based on executing WQL queries. It is possible to create another parameter for WMI subagent, WMI.Call, which will return result of calling given WMI method. I add this to my to-do list, but because WMI is almost unknown area for me, it may take some time until I implement this.

Best regards,
Victor