Tag: hardware
286 script(s) tagged “hardware”
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…
Get Computer System Product Info Report (Python)
Uses wmic under the hood to report Computer System Product Info (Win32_ComputerSystemProduct) — no third-party packages…
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…
Load Computer System Product Info into Excel via WMI
Queries Win32_ComputerSystemProduct via GetObject("winmgmts:") and dumps every Computer System Product Info row straigh…
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…
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…
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…
Backup Keyboard Info to JSON (C#)
Snapshots Keyboard Info (Win32_Keyboard) to a timestamped JSON file via System.Management and System.Text.Json.
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…
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…
Win32_BaseBoard: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_BaseBoard via Register-CimIndicationEvent — real WQL event query …
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…