Tag: wmi

750 script(s) tagged “wmi”

πŸ“Š VBA (Excel)

Export Computer System Product Info to CSV via WMI (VBA)

Queries Win32_ComputerSystemProduct via WMI and writes every Computer System Product Info row straight to a CSV file in…

🧬 WQL / PowerShell

Win32_UserAccount: Querying Local User Accounts Remotely (CIM Session)

Runs the same Win32_UserAccount WQL query against a remote computer over a CIM session β€” the modern, WinRM-based replac…

🧬 WQL / PowerShell

Win32_SoundDevice: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Sound…

🧬 WQL / PowerShell

Win32_Keyboard: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_Keyboard exposes on the current system, instead of guess…

🐍 Python 3.10+

Export Sound Devices to CSV (Python)

Exports Sound Devices (Win32_SoundDevice) to a timestamped CSV file via wmic.

⚑ PowerShell 5.1+

Get Processor Info Report

Queries Win32_Processor via WMI and reports Processor Info in a formatted table, with an optional CSV export.

🐍 Python 3.10+

Export Battery Info to CSV (Python)

Exports Battery Info (Win32_Battery) to a timestamped CSV file via wmic.

🐍 Python 3.10+

Get Motherboard Info Report (Python)

Uses wmic under the hood to report Motherboard Info (Win32_BaseBoard) β€” no third-party packages required.

⚑ PowerShell 5.1+

Watch BIOS Info for Changes

Polls Win32_BIOS on an interval and prints a line whenever the BIOS Info count changes β€” a lightweight way to notice ne…

πŸ–₯️ Batch (CMD)

Export Battery Info to CSV (Batch)

Uses wmic to export Battery Info (Win32_Battery) to a timestamped CSV file.

⚑ PowerShell 5.1+

Watch Signed Drivers for Changes

Polls Win32_PnPSignedDriver on an interval and prints a line whenever the Signed Drivers count changes β€” a lightweight …

🧬 WQL / PowerShell

Win32_Printer: Sorting Printers (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…