Tag: hardware
286 script(s) tagged “hardware”
Load Sound Devices into Excel via WMI
Queries Win32_SoundDevice via GetObject("winmgmts:") and dumps every Sound Devices row straight onto the active workshe…
Get CD/DVD Drives Report
Queries Win32_CDROMDrive via WMI and reports CD/DVD Drives in a formatted table, with an optional CSV export.
Win32_DesktopMonitor: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_DesktopMonitor via Register-CimIndicationEvent — real WQL event q…
Export Connected Monitors to CSV via WMI (VBA)
Queries Win32_DesktopMonitor via WMI and writes every Connected Monitors row straight to a CSV file in Documents, using…
Watch Computer System Product Info for Changes
Polls Win32_ComputerSystemProduct on an interval and prints a line whenever the Computer System Product Info count chan…
Get Physical Memory Modules Report (C#)
Queries Win32_PhysicalMemory via WMI (System.Management) and prints Physical Memory Modules to the console.
Get USB Controllers Report (JScript)
Queries Win32_USBController via WMI and prints USB Controllers to the console — JScript, VBScript's WSH sibling languag…
Get Pointing Devices Report to File (VBScript)
Queries Win32_PointingDevice via WMI and writes Pointing Devices to a timestamped text file, handy for scheduled logon/…
Win32_PointingDevice: Querying Pointing Devices Remotely (CIM Session)
Runs the same Win32_PointingDevice WQL query against a remote computer over a CIM session — the modern, WinRM-based rep…
Get Sound Devices Report to File (VBScript)
Queries Win32_SoundDevice via WMI and writes Sound Devices to a timestamped text file, handy for scheduled logon/logoff…
Backup Connected Monitors List to JSON
Snapshots Connected Monitors from Win32_DesktopMonitor to a timestamped JSON file for later comparison or auditing.
Export Processor Info to CSV (Batch)
Uses wmic to export Processor Info (Win32_Processor) to a timestamped CSV file.