Tag: hardware
286 script(s) tagged “hardware”
Get Sound Devices Report (Batch)
Uses wmic to list Sound Devices (Win32_SoundDevice) straight from the command line.
Get BIOS Info Report (Python)
Uses wmic under the hood to report BIOS Info (Win32_BIOS) ā no third-party packages required.
Export Sound Devices to CSV (Batch)
Uses wmic to export Sound Devices (Win32_SoundDevice) to a timestamped CSV file.
Get Battery Info Report (C#)
Queries Win32_Battery via WMI (System.Management) and prints Battery Info to the console.
Backup Connected Monitors to JSON (Python)
Snapshots Connected Monitors (Win32_DesktopMonitor) to a timestamped JSON file for later comparison or auditing.
Backup Sound Devices List to JSON
Snapshots Sound Devices from Win32_SoundDevice to a timestamped JSON file for later comparison or auditing.
Backup BIOS Info to JSON (C#)
Snapshots BIOS Info (Win32_BIOS) to a timestamped JSON file via System.Management and System.Text.Json.
Get Connected Monitors Report
Queries Win32_DesktopMonitor via WMI and reports Connected Monitors in a formatted table, with an optional CSV export.
Get USB Controllers Report (Batch)
Uses wmic to list USB Controllers (Win32_USBController) straight from the command line.
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 ā¦
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ā¦
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ā¦