WMI Query Language

You might not heard of WMI Query Language(WQL), but that’ll likely change given the increasing popularity of Windows Management Instrumentation (WMI). A dialect of SQL, WQL has many extensions that support WMI event subscriptions.

Alexander Nosov

August 23, 2000

1 Min Read
ITPro Today logo

WMI Query Language (WQL) is a dialect of SQL. WQL has many extensions that support Windows Management Instrumentation (WMI) event subscriptions. For example, the WITHIN keyword sets the interval in seconds that defines the accuracy of the event detection that the consumer expects. The Common Information Model Object Manager (CIMOM) uses that number as the polling interval to detect changes if the event doesn’t have a provider. You can combine the WITHIN keyword with GROUP BY and HAVING clauses to specify simple aggregations of similar events to achieve a filtering effect. Another extension important for event subscriptions is the ISA keyword. ISA lets you subscribe to changes of specific classes of managed elements. Using WQL, the event filter can define the type of event and the specific conditions under which CIMOM delivers the event to the consumer.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like