WQL
WQL stands for Windows Query Language. It is a SQL-like query language used by Windows Management Instrumentation (WMI) to retrieve management data from Windows-based systems and devices. WQL queries operate against WMI classes, which represent real-world management objects such as processes, services, and hardware components. The language is designed to be readable and familiar to users with SQL experience but is specialized for WMI data.
Typical queries use the SELECT statement to specify which properties to return from a WMI class, along
WQL is a read-only query language for WMI data and does not support joins across classes, grouping,
WQL is exposed through various Windows management tools and APIs, including the WMIC command-line utility, PowerShell