Tag: wmi
750 script(s) tagged “wmi”
Get Sound Devices Report
Queries Win32_SoundDevice via WMI and reports Sound Devices in a formatted table, with an optional CSV export.
Win32_NetworkAdapter: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_NetworkAdapter exposes on the current system, instead of…
Get Installed MSI Products Report (JScript)
Queries Win32_Product via WMI and prints Installed MSI Products to the console — JScript, VBScript's WSH sibling langua…
Get Local User Accounts Report (JScript)
Queries Win32_UserAccount via WMI and prints Local User Accounts to the console — JScript, VBScript's WSH sibling langu…
Win32_DesktopMonitor: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Deskt…
Win32_USBController: USB Controllers (WQL)
A minimal WQL reference query against Win32_USBController — the raw SELECT statement plus a one-line runner, useful for…
Get Local User Accounts Report (C#)
Queries Win32_UserAccount via WMI (System.Management) and prints Local User Accounts to the console.
Get Local Groups Report (VBScript)
Queries Win32_Group via WMI and prints Local Groups to the console — no PowerShell required.
Get Battery Info Report
Queries Win32_Battery via WMI and reports Battery Info in a formatted table, with an optional CSV export.
Win32_ComputerSystemProduct: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_ComputerSystemProduct via Register-CimIndicationEvent — real WQL …
Get Network Adapters Report (JScript)
Queries Win32_NetworkAdapter via WMI and prints Network Adapters to the console — JScript, VBScript's WSH sibling langu…
Win32_NetworkAdapter: Filtering Network Adapters (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_NetworkAdapter, starting from a LIKE '%' wildcard you customize with a …