Tag: hardware

286 script(s) tagged “hardware”

šŸ–„ļø Batch (CMD)

Get Sound Devices Report (Batch)

Uses wmic to list Sound Devices (Win32_SoundDevice) straight from the command line.

šŸ Python 3.10+

Get BIOS Info Report (Python)

Uses wmic under the hood to report BIOS Info (Win32_BIOS) — no third-party packages required.

šŸ–„ļø Batch (CMD)

Export Sound Devices to CSV (Batch)

Uses wmic to export Sound Devices (Win32_SoundDevice) to a timestamped CSV file.

🟣 C# / .NET 6+

Get Battery Info Report (C#)

Queries Win32_Battery via WMI (System.Management) and prints Battery Info to the console.

šŸ Python 3.10+

Backup Connected Monitors to JSON (Python)

Snapshots Connected Monitors (Win32_DesktopMonitor) to a timestamped JSON file for later comparison or auditing.

⚔ PowerShell 5.1+

Backup Sound Devices List to JSON

Snapshots Sound Devices from Win32_SoundDevice to a timestamped JSON file for later comparison or auditing.

🟣 C# / .NET 6+

Backup BIOS Info to JSON (C#)

Snapshots BIOS Info (Win32_BIOS) to a timestamped JSON file via System.Management and System.Text.Json.

⚔ PowerShell 5.1+

Get Connected Monitors Report

Queries Win32_DesktopMonitor via WMI and reports Connected Monitors in a formatted table, with an optional CSV export.

šŸ–„ļø Batch (CMD)

Get USB Controllers Report (Batch)

Uses wmic to list USB Controllers (Win32_USBController) straight from the command line.

🧬 WQL / PowerShell

Win32_USBController: Discovering Available Properties (Get-CimClass)

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

šŸ“Š VBA (Excel)

Load Battery Info into Excel via WMI

Queries Win32_Battery via GetObject("winmgmts:") and dumps every Battery Info row straight onto the active worksheet, n…

🧬 WQL / PowerShell

Win32_USBController: Sorting USB Controllers (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…