🧬 WMI
Windows Management Instrumentation reference queries and WQL-focused scripts.
Win32_VideoController: Video Controllers (WQL)
A minimal WQL reference query against Win32_VideoController — the raw SELECT statement plus a one-line runner, useful f…
Win32_PhysicalMemory: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_PhysicalMemory exposes on the current system, instead of…
Win32_ComputerSystemProduct: Computer System Product Info (WQL)
A minimal WQL reference query against Win32_ComputerSystemProduct — the raw SELECT statement plus a one-line runner, us…
Win32_BaseBoard: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_BaseB…
Win32_DiskDrive: Sorting Physical Disk Drives (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_Service: Filtering Services (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_Service, starting from a LIKE '%' wildcard you customize with a real se…
Win32_Battery: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Battery exposes on the current system, instead of guessi…
Win32_USBController: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_USBController via Register-CimIndicationEvent — real WQL event qu…
Win32_BaseBoard: Sorting Motherboard Info (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_SoundDevice: Filtering Sound Devices (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_SoundDevice, starting from a LIKE '%' wildcard you customize with a rea…
Win32_DesktopMonitor: Filtering Connected Monitors (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_DesktopMonitor, starting from a LIKE '%' wildcard you customize with a …
Win32_PointingDevice: Sorting Pointing Devices (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…