🧬 WMI
Windows Management Instrumentation reference queries and WQL-focused scripts.
Win32_ComputerSystemProduct: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_ComputerSystemProduct exposes on the current system, ins…
Win32_Group: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Group…
Win32_ComputerSystemProduct: Filtering Computer System Product Info (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_ComputerSystemProduct, starting from a LIKE '%' wildcard you customize …
Win32_Battery: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Battery via Register-CimIndicationEvent — real WQL event query sy…
Win32_PageFileUsage: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_PageFileUsage exposes on the current system, instead of …
Win32_LogicalDisk: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_LogicalDisk via Register-CimIndicationEvent — real WQL event quer…
Win32_DiskDrive: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_DiskDrive via Register-CimIndicationEvent — real WQL event query …
Win32_SoundDevice: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_SoundDevice exposes on the current system, instead of gu…
Win32_QuickFixEngineering: Installed Hotfixes (WQL)
A minimal WQL reference query against Win32_QuickFixEngineering — the raw SELECT statement plus a one-line runner, usef…
Win32_CDROMDrive: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_CDROMDrive exposes on the current system, instead of gue…
Win32_PnPSignedDriver: Sorting Signed Drivers (WQL has no ORDER BY)
WQL has no ORDER BY clause — this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…
Win32_QuickFixEngineering: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_QuickFixEngineering exposes on the current system, inste…