Tag: hardware
286 script(s) tagged “hardware”
Win32_PointingDevice: Pointing Devices (WQL)
A minimal WQL reference query against Win32_PointingDevice — the raw SELECT statement plus a one-line runner, useful fo…
Export Video Controllers to CSV (Batch)
Uses wmic to export Video Controllers (Win32_VideoController) to a timestamped CSV file.
Watch Video Controllers for Changes
Polls Win32_VideoController on an interval and prints a line whenever the Video Controllers count changes — a lightweig…
Get BIOS Info Report
Queries Win32_BIOS via WMI and reports BIOS Info in a formatted table, with an optional CSV export.
Win32_PhysicalMemory: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_PhysicalMemory via Register-CimIndicationEvent — real WQL event q…
Win32_PhysicalMemory: Sorting Physical Memory Modules (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 Physical Memory Modules Report (Batch)
Uses wmic to list Physical Memory Modules (Win32_PhysicalMemory) straight from the command line.
Export CD/DVD Drives to CSV (Batch)
Uses wmic to export CD/DVD Drives (Win32_CDROMDrive) to a timestamped CSV file.
Backup Video Controllers List to JSON
Snapshots Video Controllers from Win32_VideoController to a timestamped JSON file for later comparison or auditing.
Win32_CDROMDrive: Querying CD/DVD Drives Remotely (CIM Session)
Runs the same Win32_CDROMDrive WQL query against a remote computer over a CIM session — the modern, WinRM-based replace…