WMI method call
-
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
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login