Tag: reference

238 script(s) tagged “reference”

🧬 WQL / PowerShell

Win32_NetworkLoginProfile: Sorting Network Login Profiles (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_Battery: Filtering Battery Info (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_DesktopMonitor: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_DiskDrive: Physical Disk Drives (WQL)

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

🧬 WQL / PowerShell

Win32_Process: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_NetworkAdapterConfiguration: 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_Service: Services (WQL)

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

🧬 WQL / PowerShell

Win32_Group: Local Groups (WQL)

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

🧬 WQL / PowerShell

Win32_USBController: Filtering USB Controllers (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_VideoController: Filtering Video Controllers (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_DesktopMonitor: Querying Connected Monitors Remotely (CIM Session)

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