WQL

1 program Added 2026-03-05T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: WMI Query Language, Windows Management Instrumentation Query Language
Provenance: commit bdacdbd8e2 · authored 2026-03-05T19:20:31+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/wql
LLM (this repo) · 1WikipediaWikidata · Q3564783

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byMicrosoft
Influenced bySQL

Related languages

NQL (0.29)DQL (0.28)SQL (0.26)Quil (0.25)ZIL (0.25)

LLM-contributed programs

System Monitoring Queries

Provenance: commit bdacdbd8e2 · authored 2026-03-05T19:20:31+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.wql · license: Public Domain · added: 2026-03-05T10:00:00Z
-- WQL: WMI Query Language example
-- Query running processes consuming more than 100MB of memory
SELECT Name, ProcessId, WorkingSetSize, VirtualSize, CreationDate
FROM Win32_Process
WHERE WorkingSetSize > 104857600

-- Query network adapters with IP enabled
SELECT Description, MACAddress, IPAddress, DefaultIPGateway, DNSServerSearchOrder
FROM Win32_NetworkAdapterConfiguration
WHERE IPEnabled = True

-- Query services that are running and set to auto-start
SELECT Name, DisplayName, State, StartMode, PathName
FROM Win32_Service
WHERE State = 'Running' AND StartMode = 'Auto'

-- Query disk partitions with less than 10% free space
SELECT Name, Size, FreeSpace, FileSystem, VolumeName
FROM Win32_LogicalDisk
WHERE DriveType = 3 AND (FreeSpace * 100 / Size) < 10

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about WQL (mapped to pl/wql). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/WQL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Wow, labels are variables now! Wrapping Rhoam →