🧬 WMI
Windows Management Instrumentation reference queries and WQL-focused scripts.
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…
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…
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…
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…
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 …
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…
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…
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…
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…
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…
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…
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…