Tag: hardware

286 script(s) tagged “hardware”

🧬 WQL / PowerShell

Win32_PointingDevice: Pointing Devices (WQL)

A minimal WQL reference query against Win32_PointingDevice — the raw SELECT statement plus a one-line runner, useful fo…

🖥️ Batch (CMD)

Export Video Controllers to CSV (Batch)

Uses wmic to export Video Controllers (Win32_VideoController) to a timestamped CSV file.

⚡ PowerShell 5.1+

Watch Video Controllers for Changes

Polls Win32_VideoController on an interval and prints a line whenever the Video Controllers count changes — a lightweig…

⚡ PowerShell 5.1+

Get BIOS Info Report

Queries Win32_BIOS via WMI and reports BIOS Info in a formatted table, with an optional CSV export.

🧬 WQL / PowerShell

Win32_PhysicalMemory: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_PhysicalMemory via Register-CimIndicationEvent — real WQL event q…

🧬 WQL / PowerShell

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…

🖥️ Batch (CMD)

Get Physical Memory Modules Report (Batch)

Uses wmic to list Physical Memory Modules (Win32_PhysicalMemory) straight from the command line.

🖥️ Batch (CMD)

Export CD/DVD Drives to CSV (Batch)

Uses wmic to export CD/DVD Drives (Win32_CDROMDrive) to a timestamped CSV file.

⚡ PowerShell 5.1+

Backup Video Controllers List to JSON

Snapshots Video Controllers from Win32_VideoController to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

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…