Tag: hardware
286 script(s) tagged “hardware”
Win32_Keyboard: Querying Keyboard Info Remotely (CIM Session)
Runs the same Win32_Keyboard WQL query against a remote computer over a CIM session β the modern, WinRM-based replacemeβ¦
Get Battery Info Report to File (VBScript)
Queries Win32_Battery via WMI and writes Battery Info to a timestamped text file, handy for scheduled logon/logoff scriβ¦
Watch CD/DVD Drives for Changes
Polls Win32_CDROMDrive on an interval and prints a line whenever the CD/DVD Drives count changes β a lightweight way toβ¦
Get CD/DVD Drives Report to File (VBScript)
Queries Win32_CDROMDrive via WMI and writes CD/DVD Drives to a timestamped text file, handy for scheduled logon/logoff β¦
Backup CD/DVD Drives to JSON (Python)
Snapshots CD/DVD Drives (Win32_CDROMDrive) to a timestamped JSON file for later comparison or auditing.
Get Physical Memory Modules Report (JScript)
Queries Win32_PhysicalMemory via WMI and prints Physical Memory Modules to the console β JScript, VBScript's WSH siblinβ¦
Backup Processor Info to JSON (Python)
Snapshots Processor Info (Win32_Processor) to a timestamped JSON file for later comparison or auditing.
Backup Pointing Devices List to JSON
Snapshots Pointing Devices from Win32_PointingDevice to a timestamped JSON file for later comparison or auditing.
Get Video Controllers Report (Python)
Uses wmic under the hood to report Video Controllers (Win32_VideoController) β no third-party packages required.
Get CD/DVD Drives Report (VBScript)
Queries Win32_CDROMDrive via WMI and prints CD/DVD Drives to the console β no PowerShell required.
Win32_PhysicalMemory: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Physiβ¦
Win32_CDROMDrive: CD/DVD Drives (WQL)
A minimal WQL reference query against Win32_CDROMDrive β the raw SELECT statement plus a one-line runner, useful for leβ¦