Tag: reference
238 script(s) tagged “reference”
Win32_Product: Querying Installed MSI Products Remotely (CIM Session)
Runs the same Win32_Product WQL query against a remote computer over a CIM session — the modern, WinRM-based replacemen…
Win32_ComputerSystem: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_ComputerSystem exposes on the current system, instead of…
Win32_Keyboard: Filtering Keyboard Info (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_Keyboard, starting from a LIKE '%' wildcard you customize with a real s…
Win32_PointingDevice: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Point…
Win32_VideoController: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_VideoController exposes on the current system, instead o…
Win32_Share: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Share exposes on the current system, instead of guessing…
Win32_QuickFixEngineering: Filtering Installed Hotfixes (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_QuickFixEngineering, starting from a LIKE '%' wildcard you customize wi…
Win32_NetworkAdapter: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_NetworkAdapter via Register-CimIndicationEvent — real WQL event q…
Win32_StartupCommand: Sorting Startup Programs (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_BIOS: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_BIOS …
Win32_BIOS: BIOS Info (WQL)
A minimal WQL reference query against Win32_BIOS — the raw SELECT statement plus a one-line runner, useful for learning…
Win32_Share: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Share…