Tag: hardware
286 script(s) tagged “hardware”
Export Computer System Product Info to CSV (Python)
Exports Computer System Product Info (Win32_ComputerSystemProduct) to a timestamped CSV file via wmic.
Export Connected Monitors to CSV (Python)
Exports Connected Monitors (Win32_DesktopMonitor) to a timestamped CSV file via wmic.
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β¦
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β¦
Get Sound Devices Report (JScript)
Queries Win32_SoundDevice via WMI and prints Sound Devices to the console β JScript, VBScript's WSH sibling language.
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β¦
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 β¦
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β¦
Get Computer System Product Info Report (Batch)
Uses wmic to list Computer System Product Info (Win32_ComputerSystemProduct) straight from the command line.
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β¦
Get Processor Info Report (Python)
Uses wmic under the hood to report Processor Info (Win32_Processor) β no third-party packages required.
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β¦