This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Setting threshold for a WMI Query with a boolean response

FormerMember
FormerMember

I want to find out whether Citrix logins are enabled or disabled for a host server.  I wrote a PowerShell script to invoke and parse the output of 'qfarm /load' but it appears easier to simply query using WMI, and I found a class with the setting.  The query for the Citrix class MetaFrame_Server for the LoginsEnabled property on the \root\Citrix namespace returns a TRUE or FALSE boolean response:

WMI Namespace: \root\Citrix

Query: SELECT LoginsEnabled FROM MetaFrame_Server

A WMI Monitor looks for a numerical statistic threshold.  What ways are there to trigger a warning or critical state using booleans?