Tag: reference
238 script(s) tagged “reference”
Win32_NetworkLoginProfile: Sorting Network Login Profiles (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_Battery: Filtering Battery Info (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_Battery, starting from a LIKE '%' wildcard you customize with a real se…
Win32_DesktopMonitor: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_DesktopMonitor exposes on the current system, instead of…
Win32_PnPSignedDriver: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_PnPSi…
Win32_DiskDrive: Physical Disk Drives (WQL)
A minimal WQL reference query against Win32_DiskDrive — the raw SELECT statement plus a one-line runner, useful for lea…
Win32_Process: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Process via Register-CimIndicationEvent — real WQL event query sy…
Win32_NetworkAdapterConfiguration: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Netwo…
Win32_Service: Services (WQL)
A minimal WQL reference query against Win32_Service — the raw SELECT statement plus a one-line runner, useful for learn…
Win32_Group: Local Groups (WQL)
A minimal WQL reference query against Win32_Group — the raw SELECT statement plus a one-line runner, useful for learnin…
Win32_USBController: Filtering USB Controllers (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_USBController, starting from a LIKE '%' wildcard you customize with a r…
Win32_VideoController: Filtering Video Controllers (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_VideoController, starting from a LIKE '%' wildcard you customize with a…
Win32_DesktopMonitor: Querying Connected Monitors Remotely (CIM Session)
Runs the same Win32_DesktopMonitor WQL query against a remote computer over a CIM session — the modern, WinRM-based rep…