🧬 WMI

Windows Management Instrumentation reference queries and WQL-focused scripts.

🧬 WQL / PowerShell

Win32_StartupCommand: Filtering Startup Programs (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_StartupCommand, starting from a LIKE '%' wildcard you customize with a …

🧬 WQL / PowerShell

Win32_CDROMDrive: CD/DVD Drives (WQL)

A minimal WQL reference query against Win32_CDROMDrive — the raw SELECT statement plus a one-line runner, useful for le…

🧬 WQL / PowerShell

Win32_PointingDevice: Pointing Devices (WQL)

A minimal WQL reference query against Win32_PointingDevice — the raw SELECT statement plus a one-line runner, useful fo…

🧬 WQL / PowerShell

Win32_StartupCommand: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_StartupCommand via Register-CimIndicationEvent — real WQL event q…

🧬 WQL / PowerShell

Win32_PhysicalMemory: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_PhysicalMemory via Register-CimIndicationEvent — real WQL event q…

🧬 WQL / PowerShell

Win32_NetworkAdapterConfiguration: Sorting Network Adapter Configuration (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…

🧬 WQL / PowerShell

Win32_QuickFixEngineering: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_QuickFixEngineering via Register-CimIndicationEvent — real WQL ev…

🧬 WQL / PowerShell

Win32_PhysicalMemory: Sorting Physical Memory Modules (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…

🧬 WQL / PowerShell

Win32_CDROMDrive: Querying CD/DVD Drives Remotely (CIM Session)

Runs the same Win32_CDROMDrive WQL query against a remote computer over a CIM session — the modern, WinRM-based replace…

🧬 WQL / PowerShell

Win32_OperatingSystem: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_OperatingSystem exposes on the current system, instead o…