Tag: wql

238 script(s) tagged “wql”

🧬 WQL / PowerShell

Win32_Printer: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_DesktopMonitor: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_Share: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

🧬 WQL / PowerShell

Win32_ComputerSystem: Querying Computer System Info Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_StartupCommand: Querying Startup Programs Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_Group: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_Share: Querying Network Shares Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_Environment: Filtering Environment Variables (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_LogicalDisk: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_PointingDevice: Querying Pointing Devices Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_OperatingSystem: Querying Operating System Info Remotely (CIM Session)

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

🧬 WQL / PowerShell

Win32_TimeZone: Filtering Time Zone Settings (WQL WHERE)

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