WMI query count
  • 29 Nov 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

WMI query count

  • Dark
    Light
  • PDF

Article summary

Use WMI query count to filter based on the number of expected results of a WMI (Windows Management Instrumentation) query you run on devices.

General
TypeWMI query count
PathThe WMI namespace that contains the class you want to query
QueryThe query you want to run
CompareEqual, Not equal, Greater than, Less than
ValueNumber of expected results

Agent

It requires the Agent to be running.

Supported platforms

PlatformSupported
WebNo
WindowsYes
macOSNo

Example

The following query detects multi monitor setup:

Path root\cimv2
Query SELECT * FROM Win32_DesktopMonitor
Compare Greater than
Value 1


Was this article helpful?

What's Next