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.[1]
Family | Query language |
---|---|
Developer | Microsoft |
OS | Microsoft Windows |
Influenced by | |
SQL |
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:[2]
SELECT * FROM Win32_LogicalDisk WHERE FreeSpace < 2097152
gollark: Anyway, as much as I somewhat disapprove of ☭ in general, the current hierarchical structure of consumer internet connectivity is ridiculous and inefficient and would probably have been replaced if it wasn't for the hardproblemness of good mesh networking.
gollark: `nc -l 5000` or something on one device, `nc [its IP] 5000` on the other I think?
gollark: Or ADB.
gollark: I would probably use netcat.
gollark: Oh, very, but only in a chroot-type thing, not baremetal.
See also
- Windows Management Instrumentation (WMI)
- Common Information Model (CIM)
- Web-Based Enterprise Management (WBEM)
- Windows PowerShell
References
External links
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.