Tag: wql

238 script(s) tagged “wql”

🧬 WQL / PowerShell

Win32_Service: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_PhysicalMemory: Physical Memory Modules (WQL)

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

🧬 WQL / PowerShell

Win32_VideoController: Sorting Video Controllers (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_NetworkAdapter: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Processor: Filtering Processor Info (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_Process: Filtering Processes (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_PhysicalMemory: Querying Physical Memory Modules Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_TimeZone: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_OperatingSystem: Operating System Info (WQL)

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

🧬 WQL / PowerShell

Win32_PointingDevice: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_UserAccount: Sorting Local User Accounts (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_BIOS: Querying BIOS Info Remotely (CIM Session)

Runs the same Win32_BIOS WQL query against a remote computer over a CIM session — the modern, WinRM-based replacement f…