Skip to content

Get HWInfo

github-actions[bot] edited this page Nov 29, 2026 · 2 revisions

Get-HWInfo

Queries Windows for hardware and OS inventory across 21 categories.

Usage

. .\Get-HWInfo.ps1
(Get-HWInfo -Category CPU, RAM).CPU
Get-HWInfo

Parameters

  • -Category: Any subset of System, CPU, GPU, RAM, Disk, Board, BIOS, Network, Monitor, Audio, Bluetooth, USB, StorageHealth, Battery, Printer, Camera, TPM, Virtualization, Firmware, Display, OS; all by default.

Returns

An object whose properties are the requested named categories.

Notes

New categories: Audio endpoints, Bluetooth PnP devices, USB controllers/devices, storage health/reliability, battery telemetry, printers, cameras/imaging devices, TPM, virtualization, firmware/Secure Boot, active displays and OS metadata.

Display returns active source resolution, target refresh, scaling, effective DPI and HDR information when available. Legacy Advanced Color support does not distinguish HDR from wide color. Bluetooth reports present PnP devices, not connection state. Camera includes legacy imaging-class devices. Unsupported hardware and inaccessible provider values may be empty or null.

Source script · Documentation page

Clone this wiki locally