Tag: hardware

286 script(s) tagged “hardware”

🧬 WQL / PowerShell

Win32_BIOS: BIOS Info (WQL)

A minimal WQL reference query against Win32_BIOS β€” the raw SELECT statement plus a one-line runner, useful for learning…

🧬 WQL / PowerShell

Win32_ComputerSystemProduct: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_ComputerSystemProduct exposes on the current system, ins…

🧬 WQL / PowerShell

Win32_ComputerSystemProduct: Filtering Computer System Product Info (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_ComputerSystemProduct, starting from a LIKE '%' wildcard you customize …

πŸ–₯️ Batch (CMD)

Export Keyboard Info to CSV (Batch)

Uses wmic to export Keyboard Info (Win32_Keyboard) to a timestamped CSV file.

🐍 Python 3.10+

Backup Video Controllers to JSON (Python)

Snapshots Video Controllers (Win32_VideoController) to a timestamped JSON file for later comparison or auditing.

⚑ PowerShell 5.1+

Backup Motherboard Info List to JSON

Snapshots Motherboard Info from Win32_BaseBoard to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_Battery: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_Battery via Register-CimIndicationEvent β€” real WQL event query sy…

🟣 C# / .NET 6+

Backup Connected Monitors to JSON (C#)

Snapshots Connected Monitors (Win32_DesktopMonitor) to a timestamped JSON file via System.Management and System.Text.Js…

πŸ“Š VBA (Excel)

Export BIOS Info to CSV via WMI (VBA)

Queries Win32_BIOS via WMI and writes every BIOS Info row straight to a CSV file in Documents, using plain VBA file I/O.

🐍 Python 3.10+

Get CD/DVD Drives Report (Python)

Uses wmic under the hood to report CD/DVD Drives (Win32_CDROMDrive) β€” no third-party packages required.

πŸ–₯️ Batch (CMD)

Get CD/DVD Drives Report (Batch)

Uses wmic to list CD/DVD Drives (Win32_CDROMDrive) straight from the command line.

🧬 WQL / PowerShell

Win32_SoundDevice: Discovering Available Properties (Get-CimClass)

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