🧬 WMI
Windows Management Instrumentation reference queries and WQL-focused scripts.
Win32_Share: Filtering Network Shares (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_Share, starting from a LIKE '%' wildcard you customize with a real sear…
Win32_PnPSignedDriver: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_PnPSignedDriver exposes on the current system, instead o…
Win32_Environment: Environment Variables (WQL)
A minimal WQL reference query against Win32_Environment — the raw SELECT statement plus a one-line runner, useful for l…
Win32_QuickFixEngineering: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Quick…
Win32_NetworkLoginProfile: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Netwo…
Win32_UserAccount: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_UserAccount exposes on the current system, instead of gu…
Win32_NetworkAdapterConfiguration: Network Adapter Configuration (WQL)
A minimal WQL reference query against Win32_NetworkAdapterConfiguration — the raw SELECT statement plus a one-line runn…
Win32_SystemDriver: System Drivers (WQL)
A minimal WQL reference query against Win32_SystemDriver — the raw SELECT statement plus a one-line runner, useful for …
Win32_Process: Sorting Processes (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_UserAccount: Filtering Local User Accounts (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_UserAccount, starting from a LIKE '%' wildcard you customize with a rea…
Win32_Keyboard: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Keybo…
Win32_Printer: Printers (WQL)
A minimal WQL reference query against Win32_Printer — the raw SELECT statement plus a one-line runner, useful for learn…