encyclopegia.org

WQL

Windows Management Instrumentation Query Language (WQL) is Microsoft's implementation of the CIM Query Language (CQL), a query language for the Common Information Model (CIM) standard from the Distributed Management Task Force (DMTF). It is a subset of ANSI standard SQL with minor semantic changes. WQL is dedicated to WMI and is designed to perform queries against the CIM repository to retrieve information or get event notifications.

Windows Management Instrumentation Query Language (WQL) is Microsoft's implementation of the CIM Query Language (CQL), a query language for the Common Information Model (CIM) standard from the Distributed Management Task Force (DMTF). It is a subset of ANSI standard SQL with minor semantic changes. WQL is dedicated to WMI and is designed to perform queries against the CIM repository to retrieve information or get event notifications. ==Example== As an example, the following WQL query selects all the drives on a computer that have less than 2 MB of free space: SELECT * FROM Win32_LogicalDisk WHERE FreeSpace ==See also== Windows Management Instrumentation (WMI) Common Information Model (CIM) Web-Based Enterprise Management (WBEM) Windows PowerShell ==References== ==External links== Querying with WQL WQL Operators WQL-Supported Date Formats WQL-Supported Time Formats WQL (SQL for WMI) Using WQL with the WMI Provider for Server Events WMI Queries Learn WMI Query Language using PowerShell

References

No reference rows published for this article.

Cite this article

MLA

"WQL." encyclopegia.org, 2023, https://encyclopegia.org/wiki/wql. Accessed 25 November 2026.

Chicago

"WQL." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/wql.

APA

encyclopegia.org. (2023). WQL. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/wql

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1170902092 · 0.5 · snapshot enwiki-001170902092

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.