Tag: reference

238 script(s) tagged “reference”

🧬 WQL / PowerShell

Win32_ComputerSystem: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_DesktopMonitor: Sorting Connected Monitors (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_Process: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Processor: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_Process: Querying Processes Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_PageFileUsage: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Printer: Filtering Printers (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_Keyboard: Querying Keyboard Info Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Signed Drivers (WQL)

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

🧬 WQL / PowerShell

Win32_PageFileUsage: Querying Page File Usage Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_PhysicalMemory: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_QuickFixEngineering: Sorting Installed Hotfixes (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…