Tag: reference
238 script(s) tagged “reference”
Win32_PageFileUsage: Page File Usage (WQL)
A minimal WQL reference query against Win32_PageFileUsage — the raw SELECT statement plus a one-line runner, useful for…
Win32_USBController: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_USBCo…
Win32_LogicalDisk: Querying Logical Disks Remotely (CIM Session)
Runs the same Win32_LogicalDisk WQL query against a remote computer over a CIM session — the modern, WinRM-based replac…
Win32_OperatingSystem: Sorting Operating System 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…
Win32_Battery: Battery Info (WQL)
A minimal WQL reference query against Win32_Battery — the raw SELECT statement plus a one-line runner, useful for learn…
Win32_SoundDevice: Querying Sound Devices Remotely (CIM Session)
Runs the same Win32_SoundDevice WQL query against a remote computer over a CIM session — the modern, WinRM-based replac…
Win32_NetworkAdapter: Network Adapters (WQL)
A minimal WQL reference query against Win32_NetworkAdapter — the raw SELECT statement plus a one-line runner, useful fo…
Win32_Environment: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Environment via Register-CimIndicationEvent — real WQL event quer…
Win32_Environment: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Environment exposes on the current system, instead of gu…
Win32_StartupCommand: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Start…
Win32_VideoController: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Video…
Win32_VideoController: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_VideoController via Register-CimIndicationEvent — real WQL event …