Tag: wql

238 script(s) tagged “wql”

🧬 WQL / PowerShell

Win32_Keyboard: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_Printer: Sorting Printers (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_Processor: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_PointingDevice: Filtering Pointing Devices (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_SystemDriver: Sorting System 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_SystemDriver: Querying System Drivers Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_TimeZone: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_BaseBoard: Motherboard Info (WQL)

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

🧬 WQL / PowerShell

Win32_ComputerSystemProduct: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_USBController: Querying USB Controllers Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_Printer: Querying Printers Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Filtering Signed Drivers (WQL WHERE)

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