PowerShell commands to query hardware

Below are some PowerShell commands to query hardware.

gwmi win32_baseboard

gwmi win32_processor

gwmi win32_battery | select est*

Get-WmiObject -class MSStorageDriver_FailurePredictStatus -NameSpace root\WMI | Select Active, PredictFailure

powershell_hardware_1

powershell_hardware_2