Tag: hardware
286 script(s) tagged “hardware”
Backup Physical Memory Modules List to JSON
Snapshots Physical Memory Modules from Win32_PhysicalMemory to a timestamped JSON file for later comparison or auditing.
Backup BIOS Info to JSON (Python)
Snapshots BIOS Info (Win32_BIOS) to a timestamped JSON file for later comparison or auditing.
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โฆ
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โฆ
Get Video Controllers Report (C#)
Queries Win32_VideoController via WMI (System.Management) and prints Video Controllers to the console.
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โฆ
Backup Battery Info to JSON (C#)
Snapshots Battery Info (Win32_Battery) to a timestamped JSON file via System.Management and System.Text.Json.
Get Connected Monitors Report (C#)
Queries Win32_DesktopMonitor via WMI (System.Management) and prints Connected Monitors to the console.
Win32_VideoController: Video Controllers (WQL)
A minimal WQL reference query against Win32_VideoController โ the raw SELECT statement plus a one-line runner, useful fโฆ
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โฆ
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โฆ
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โฆ