Tag: wmi

750 script(s) tagged “wmi”

🖥️ Batch (CMD)

Get Installed MSI Products Report (Batch)

Uses wmic to list Installed MSI Products (Win32_Product) straight from the command line.

⚡ PowerShell 5.1+

Get Computer System Product Info Report

Queries Win32_ComputerSystemProduct via WMI and reports Computer System Product Info in a formatted table, with an opti…

🟣 C# / .NET 6+

Get Pointing Devices Report (C#)

Queries Win32_PointingDevice via WMI (System.Management) and prints Pointing Devices to the console.

🖥️ Batch (CMD)

Get Network Shares Report (Batch)

Uses wmic to list Network Shares (Win32_Share) straight from the command line.

⚡ PowerShell 5.1+

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…

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…

📄 JScript (WSH)

Get System Drivers Report (JScript)

Queries Win32_SystemDriver via WMI and prints System Drivers to the console — JScript, VBScript's WSH sibling language.

⚡ PowerShell 5.1+

Watch Network Adapters for Changes

Polls Win32_NetworkAdapter on an interval and prints a line whenever the Network Adapters count changes — a lightweight…

🐍 Python 3.10+

Get Printers Report (Python)

Uses wmic under the hood to report Printers (Win32_Printer) — no third-party packages required.

🧬 WQL / PowerShell

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…

🧬 WQL / PowerShell

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…