Tag: reference

238 script(s) tagged “reference”

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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 …

🧬 WQL / PowerShell

Win32_Battery: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

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 …

🧬 WQL / PowerShell

Win32_LogicalDisk: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_DiskDrive: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

Win32_QuickFixEngineering: Installed Hotfixes (WQL)

A minimal WQL reference query against Win32_QuickFixEngineering — the raw SELECT statement plus a one-line runner, usef…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…