Tag: hardware

286 script(s) tagged “hardware”

โšก PowerShell 5.1+

Backup Physical Memory Modules List to JSON

Snapshots Physical Memory Modules from Win32_PhysicalMemory to a timestamped JSON file for later comparison or auditing.

๐Ÿ Python 3.10+

Backup BIOS Info to JSON (Python)

Snapshots BIOS Info (Win32_BIOS) to a timestamped JSON file for later comparison or auditing.

๐Ÿงฌ WQL / PowerShell

Win32_Processor: Sorting Processor Info (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โ€ฆ

๐Ÿงฌ WQL / PowerShell

Win32_SoundDevice: Sorting Sound Devices (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โ€ฆ

๐ŸŸฃ C# / .NET 6+

Get Video Controllers Report (C#)

Queries Win32_VideoController via WMI (System.Management) and prints Video Controllers to the console.

๐Ÿ“œ VBScript (WSH)

Get Keyboard Info Report to File (VBScript)

Queries Win32_Keyboard via WMI and writes Keyboard Info to a timestamped text file, handy for scheduled logon/logoff scโ€ฆ

๐ŸŸฃ C# / .NET 6+

Backup Battery Info to JSON (C#)

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

๐ŸŸฃ C# / .NET 6+

Get Connected Monitors Report (C#)

Queries Win32_DesktopMonitor via WMI (System.Management) and prints Connected Monitors to the console.

๐Ÿงฌ WQL / PowerShell

Win32_VideoController: Video Controllers (WQL)

A minimal WQL reference query against Win32_VideoController โ€” the raw SELECT statement plus a one-line runner, useful fโ€ฆ

๐Ÿงฌ WQL / PowerShell

Win32_PhysicalMemory: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_PhysicalMemory exposes on the current system, instead ofโ€ฆ

๐Ÿ“Š VBA (Excel)

Export Pointing Devices to CSV via WMI (VBA)

Queries Win32_PointingDevice via WMI and writes every Pointing Devices row straight to a CSV file in Documents, using pโ€ฆ

๐Ÿงฌ WQL / PowerShell

Win32_ComputerSystemProduct: Computer System Product Info (WQL)

A minimal WQL reference query against Win32_ComputerSystemProduct โ€” the raw SELECT statement plus a one-line runner, usโ€ฆ