Tag: hardware

286 script(s) tagged “hardware”

πŸ“„ JScript (WSH)

Get CD/DVD Drives Report (JScript)

Queries Win32_CDROMDrive via WMI and prints CD/DVD Drives to the console β€” JScript, VBScript's WSH sibling language.

πŸ“„ JScript (WSH)

Get Connected Monitors Report (JScript)

Queries Win32_DesktopMonitor via WMI and prints Connected Monitors to the console β€” JScript, VBScript's WSH sibling lan…

🟣 C# / .NET 6+

Backup USB Controllers to JSON (C#)

Snapshots USB Controllers (Win32_USBController) to a timestamped JSON file via System.Management and System.Text.Json.

⚑ PowerShell 5.1+

Watch Motherboard Info for Changes

Polls Win32_BaseBoard on an interval and prints a line whenever the Motherboard Info count changes β€” a lightweight way …

πŸ–₯️ Batch (CMD)

Get Video Controllers Report (Batch)

Uses wmic to list Video Controllers (Win32_VideoController) straight from the command line.

🧬 WQL / PowerShell

Win32_CDROMDrive: Discovering Available Properties (Get-CimClass)

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

🟣 C# / .NET 6+

Backup Physical Memory Modules to JSON (C#)

Snapshots Physical Memory Modules (Win32_PhysicalMemory) to a timestamped JSON file via System.Management and System.Te…

πŸ“Š VBA (Excel)

Load Keyboard Info into Excel via WMI

Queries Win32_Keyboard via GetObject("winmgmts:") and dumps every Keyboard Info row straight onto the active worksheet,…

⚑ PowerShell 5.1+

Backup Processor Info List to JSON

Snapshots Processor Info from Win32_Processor to a timestamped JSON file for later comparison or auditing.

⚑ PowerShell 5.1+

Get Pointing Devices Report

Queries Win32_PointingDevice via WMI and reports Pointing Devices in a formatted table, with an optional CSV export.

πŸ“œ VBScript (WSH)

Get BIOS Info Report to File (VBScript)

Queries Win32_BIOS via WMI and writes BIOS Info to a timestamped text file, handy for scheduled logon/logoff scripts.

πŸ“œ VBScript (WSH)

Get Connected Monitors Report (VBScript)

Queries Win32_DesktopMonitor via WMI and prints Connected Monitors to the console β€” no PowerShell required.