Tag: hardware
286 script(s) tagged “hardware”
Get Physical Memory Modules Report to File (VBScript)
Queries Win32_PhysicalMemory via WMI and writes Physical Memory Modules to a timestamped text file, handy for scheduled…
Win32_USBController: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_USBCo…
Watch Connected Monitors for Changes
Polls Win32_DesktopMonitor on an interval and prints a line whenever the Connected Monitors count changes — a lightweig…
Get Battery Info Report (JScript)
Queries Win32_Battery via WMI and prints Battery Info to the console — JScript, VBScript's WSH sibling language.
Win32_Battery: Battery Info (WQL)
A minimal WQL reference query against Win32_Battery — the raw SELECT statement plus a one-line runner, useful for learn…
Win32_SoundDevice: Querying Sound Devices Remotely (CIM Session)
Runs the same Win32_SoundDevice WQL query against a remote computer over a CIM session — the modern, WinRM-based replac…
Win32_VideoController: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Video…
Win32_VideoController: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_VideoController via Register-CimIndicationEvent — real WQL event …
Load Pointing Devices into Excel via WMI
Queries Win32_PointingDevice via GetObject("winmgmts:") and dumps every Pointing Devices row straight onto the active w…
Win32_SoundDevice: Sound Devices (WQL)
A minimal WQL reference query against Win32_SoundDevice — the raw SELECT statement plus a one-line runner, useful for l…
Get Connected Monitors Report to File (VBScript)
Queries Win32_DesktopMonitor via WMI and writes Connected Monitors to a timestamped text file, handy for scheduled logo…
Export Video Controllers to CSV (Python)
Exports Video Controllers (Win32_VideoController) to a timestamped CSV file via wmic.