Tag: hardware

286 script(s) tagged “hardware”

🧬 WQL / PowerShell

Win32_PointingDevice: Filtering Pointing Devices (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_PointingDevice, starting from a LIKE '%' wildcard you customize with a …

🟣 C# / .NET 6+

Backup Sound Devices to JSON (C#)

Snapshots Sound Devices (Win32_SoundDevice) to a timestamped JSON file via System.Management and System.Text.Json.

🟣 C# / .NET 6+

Get BIOS Info Report (C#)

Queries Win32_BIOS via WMI (System.Management) and prints BIOS Info to the console.

⚡ PowerShell 5.1+

Get USB Controllers Report

Queries Win32_USBController via WMI and reports USB Controllers in a formatted table, with an optional CSV export.

⚡ PowerShell 5.1+

Get Computer System Product Info Report

Queries Win32_ComputerSystemProduct via WMI and reports Computer System Product Info in a formatted table, with an opti…

🟣 C# / .NET 6+

Get Pointing Devices Report (C#)

Queries Win32_PointingDevice via WMI (System.Management) and prints Pointing Devices to the console.

🧬 WQL / PowerShell

Win32_BaseBoard: Motherboard Info (WQL)

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

🧬 WQL / PowerShell

Win32_ComputerSystemProduct: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Compu…

🧬 WQL / PowerShell

Win32_USBController: Querying USB Controllers Remotely (CIM Session)

Runs the same Win32_USBController WQL query against a remote computer over a CIM session — the modern, WinRM-based repl…

📊 VBA (Excel)

Export CD/DVD Drives to CSV via WMI (VBA)

Queries Win32_CDROMDrive via WMI and writes every CD/DVD Drives row straight to a CSV file in Documents, using plain VB…

🧬 WQL / PowerShell

Win32_BIOS: Filtering BIOS Info (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_BIOS, starting from a LIKE '%' wildcard you customize with a real searc…

🐍 Python 3.10+

Export Physical Memory Modules to CSV (Python)

Exports Physical Memory Modules (Win32_PhysicalMemory) to a timestamped CSV file via wmic.