Tag: wql

238 script(s) tagged “wql”

🧬 WQL / PowerShell

Win32_Service: Querying Services Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_NetworkAdapterConfiguration: Querying Network Adapter Configuration Remotely (CIM Session)

Runs the same Win32_NetworkAdapterConfiguration WQL query against a remote computer over a CIM session — the modern, Wi…

🧬 WQL / PowerShell

Win32_BaseBoard: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_CDROMDrive: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Process: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_Service: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Processor: 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_NetworkAdapterConfiguration: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_NetworkAdapterConfiguration exposes on the current syste…

🧬 WQL / PowerShell

Win32_BIOS: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_PointingDevice: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_Environment: Querying Environment Variables Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_Product: Discovering Available Properties (Get-CimClass)

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