Tag: hardware

286 script(s) tagged “hardware”

🐍 Python 3.10+

Export Computer System Product Info to CSV (Python)

Exports Computer System Product Info (Win32_ComputerSystemProduct) to a timestamped CSV file via wmic.

🐍 Python 3.10+

Export Connected Monitors to CSV (Python)

Exports Connected Monitors (Win32_DesktopMonitor) to a timestamped CSV file via wmic.

🧬 WQL / PowerShell

Win32_PhysicalMemory: Physical Memory Modules (WQL)

A minimal WQL reference query against Win32_PhysicalMemory β€” the raw SELECT statement plus a one-line runner, useful fo…

🧬 WQL / PowerShell

Win32_VideoController: Sorting Video Controllers (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…

πŸ“„ JScript (WSH)

Get Sound Devices Report (JScript)

Queries Win32_SoundDevice via WMI and prints Sound Devices to the console β€” JScript, VBScript's WSH sibling language.

πŸ“œ VBScript (WSH)

Get Computer System Product Info Report to File (VBScript)

Queries Win32_ComputerSystemProduct via WMI and writes Computer System Product Info to a timestamped text file, handy f…

🧬 WQL / PowerShell

Win32_Processor: Filtering Processor Info (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_PhysicalMemory: Querying Physical Memory Modules Remotely (CIM Session)

Runs the same Win32_PhysicalMemory WQL query against a remote computer over a CIM session β€” the modern, WinRM-based rep…

πŸ–₯️ Batch (CMD)

Get Computer System Product Info Report (Batch)

Uses wmic to list Computer System Product Info (Win32_ComputerSystemProduct) straight from the command line.

🧬 WQL / PowerShell

Win32_PointingDevice: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_PointingDevice exposes on the current system, instead of…

🐍 Python 3.10+

Get Processor Info Report (Python)

Uses wmic under the hood to report Processor Info (Win32_Processor) β€” no third-party packages required.

🧬 WQL / PowerShell

Win32_BIOS: Querying BIOS Info Remotely (CIM Session)

Runs the same Win32_BIOS WQL query against a remote computer over a CIM session β€” the modern, WinRM-based replacement f…