Tag: wql

238 script(s) tagged “wql”

🧬 WQL / PowerShell

Win32_Battery: Querying Battery Info Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_BaseBoard: Querying Motherboard Info Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_TimeZone: Sorting Time Zone Settings (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: Processor Info (WQL)

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

🧬 WQL / PowerShell

Win32_PageFileUsage: Sorting Page File Usage (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_PnPSignedDriver: Querying Signed Drivers Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_NetworkLoginProfile: Filtering Network Login Profiles (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_SystemDriver: Filtering System Drivers (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_Process: Processes (WQL)

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

🧬 WQL / PowerShell

Win32_NetworkLoginProfile: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_NetworkLoginProfile exposes on the current system, inste…

🧬 WQL / PowerShell

Win32_Battery: Sorting Battery 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_BaseBoard: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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