Tag: wmi
750 script(s) tagged “wmi”
Get Installed MSI Products Report (Batch)
Uses wmic to list Installed MSI Products (Win32_Product) straight from the command line.
Get Computer System Product Info Report
Queries Win32_ComputerSystemProduct via WMI and reports Computer System Product Info in a formatted table, with an opti…
Get Pointing Devices Report (C#)
Queries Win32_PointingDevice via WMI (System.Management) and prints Pointing Devices to the console.
Get Network Shares Report (Batch)
Uses wmic to list Network Shares (Win32_Share) straight from the command line.
Watch Local User Accounts for Changes
Polls Win32_UserAccount on an interval and prints a line whenever the Local User Accounts count changes — a lightweight…
Win32_SystemDriver: Querying System Drivers Remotely (CIM Session)
Runs the same Win32_SystemDriver WQL query against a remote computer over a CIM session — the modern, WinRM-based repla…
Win32_TimeZone: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_TimeZ…
Get System Drivers Report (JScript)
Queries Win32_SystemDriver via WMI and prints System Drivers to the console — JScript, VBScript's WSH sibling language.
Watch Network Adapters for Changes
Polls Win32_NetworkAdapter on an interval and prints a line whenever the Network Adapters count changes — a lightweight…
Get Printers Report (Python)
Uses wmic under the hood to report Printers (Win32_Printer) — no third-party packages required.
Win32_BaseBoard: Motherboard Info (WQL)
A minimal WQL reference query against Win32_BaseBoard — the raw SELECT statement plus a one-line runner, useful for lea…
Win32_ComputerSystemProduct: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Compu…