Tag: reference

238 script(s) tagged “reference”

🧬 WQL / PowerShell

Win32_NetworkAdapterConfiguration: Filtering Network Adapter Configuration (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_NetworkAdapterConfiguration, starting from a LIKE '%' wildcard you cust…

🧬 WQL / PowerShell

Win32_SystemDriver: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_ComputerSystem: Filtering Computer System Info (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_ComputerSystem: Sorting Computer 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…

🧬 WQL / PowerShell

Win32_Service: Sorting Services (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_UserAccount: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Printer: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_NetworkLoginProfile: Querying Network Login Profiles Remotely (CIM Session)

Runs the same Win32_NetworkLoginProfile WQL query against a remote computer over a CIM session — the modern, WinRM-base…

🧬 WQL / PowerShell

Win32_NetworkAdapter: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_DesktopMonitor: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_USBController: USB Controllers (WQL)

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

🧬 WQL / PowerShell

Win32_ComputerSystemProduct: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_ComputerSystemProduct via Register-CimIndicationEvent — real WQL …