🧬 WMI

Windows Management Instrumentation reference queries and WQL-focused scripts.

🧬 WQL / PowerShell

Win32_Processor: Querying Processor Info Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_UserAccount: Local User Accounts (WQL)

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

🧬 WQL / PowerShell

Win32_UserAccount: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_Product: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Produ…

🧬 WQL / PowerShell

Win32_BIOS: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_BIOS via Register-CimIndicationEvent — real WQL event query synta…

🧬 WQL / PowerShell

Win32_CDROMDrive: Filtering CD/DVD Drives (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_SoundDevice: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_Share: Network Shares (WQL)

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

🧬 WQL / PowerShell

Win32_BaseBoard: Filtering Motherboard Info (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_DiskDrive: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_DiskDrive exposes on the current system, instead of gues…

🧬 WQL / PowerShell

Win32_PageFileUsage: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_Environment: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Envir…