Tag: hardware
286 script(s) tagged “hardware”
Get Connected Monitors Report (Python)
Uses wmic under the hood to report Connected Monitors (Win32_DesktopMonitor) β no third-party packages required.
Get BIOS Info Report (Batch)
Uses wmic to list BIOS Info (Win32_BIOS) straight from the command line.
Export CD/DVD Drives to CSV (Python)
Exports CD/DVD Drives (Win32_CDROMDrive) to a timestamped CSV file via wmic.
Get Motherboard Info Report
Queries Win32_BaseBoard via WMI and reports Motherboard Info in a formatted table, with an optional CSV export.
Win32_DesktopMonitor: Sorting Connected Monitors (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β¦
Get Video Controllers Report
Queries Win32_VideoController via WMI and reports Video Controllers in a formatted table, with an optional CSV export.
Export Processor Info to CSV via WMI (VBA)
Queries Win32_Processor via WMI and writes every Processor Info row straight to a CSV file in Documents, using plain VBβ¦
Win32_Processor: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Processor via Register-CimIndicationEvent β real WQL event query β¦
Watch USB Controllers for Changes
Polls Win32_USBController on an interval and prints a line whenever the USB Controllers count changes β a lightweight wβ¦
Backup CD/DVD Drives to JSON (C#)
Snapshots CD/DVD Drives (Win32_CDROMDrive) to a timestamped JSON file via System.Management and System.Text.Json.
Backup Battery Info List to JSON
Snapshots Battery Info from Win32_Battery to a timestamped JSON file for later comparison or auditing.
Backup Computer System Product Info to JSON (Python)
Snapshots Computer System Product Info (Win32_ComputerSystemProduct) to a timestamped JSON file for later comparison orβ¦