Tag: hardware

286 script(s) tagged “hardware”

⚡ PowerShell 5.1+

Watch Keyboard Info for Changes

Polls Win32_Keyboard on an interval and prints a line whenever the Keyboard Info count changes — a lightweight way to n…

🐍 Python 3.10+

Get Computer System Product Info Report (Python)

Uses wmic under the hood to report Computer System Product Info (Win32_ComputerSystemProduct) — no third-party packages…

🧬 WQL / PowerShell

Win32_Battery: Querying Battery Info Remotely (CIM Session)

Runs the same Win32_Battery WQL query against a remote computer over a CIM session — the modern, WinRM-based replacemen…

📊 VBA (Excel)

Load Computer System Product Info into Excel via WMI

Queries Win32_ComputerSystemProduct via GetObject("winmgmts:") and dumps every Computer System Product Info row straigh…

🧬 WQL / PowerShell

Win32_BaseBoard: Querying Motherboard Info Remotely (CIM Session)

Runs the same Win32_BaseBoard WQL query against a remote computer over a CIM session — the modern, WinRM-based replacem…

⚡ PowerShell 5.1+

Watch Battery Info for Changes

Polls Win32_Battery on an interval and prints a line whenever the Battery Info count changes — a lightweight way to not…

🧬 WQL / PowerShell

Win32_Processor: Processor Info (WQL)

A minimal WQL reference query against Win32_Processor — the raw SELECT statement plus a one-line runner, useful for lea…

🟣 C# / .NET 6+

Backup Keyboard Info to JSON (C#)

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

🧬 WQL / PowerShell

Win32_Battery: Sorting Battery 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…

📊 VBA (Excel)

Load Physical Memory Modules into Excel via WMI

Queries Win32_PhysicalMemory via GetObject("winmgmts:") and dumps every Physical Memory Modules row straight onto the a…

🧬 WQL / PowerShell

Win32_BaseBoard: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_BaseBoard via Register-CimIndicationEvent — real WQL event query …

🧬 WQL / PowerShell

Win32_Keyboard: Sorting Keyboard 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…