Tag: wql

238 script(s) tagged “wql”

🧬 WQL / PowerShell

Win32_VideoController: Video Controllers (WQL)

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

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

Win32_USBController: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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 …

🧬 WQL / PowerShell

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…