PowerShell: Get SMBIOS Version
Need to check the SMBIOS version of a system - for hardware compatibility checks or firmware specification lookups? This one-liner pulls it straight from the system.
Prerequisites:
- Privileges: None
- Module: Built-in, no import needed
Quick Command:
Get-CimInstance -ClassName Win32_BIOS | Select-Object SMBIOSMajorVersion, SMBIOSMinorVersion
Example Output:
SMBIOSMajorVersion SMBIOSMinorVersion
------------------ ------------------
3 6
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
How It Works:
- Get-CimInstance -ClassName Win32_BIOS queries the Win32_BIOS WMI class, which stores information about the BIOS/firmware installed on the system.
- Unlike a single combined version string, SMBIOS version is split into two separate properties - SMBIOSMajorVersion and SMBIOSMinorVersion - so a result of 3 and 6 means SMBIOS version 3.6.
Pro Tip:
To display it as a single readable version string instead of two separate columns:
$bios = Get-CimInstance -ClassName Win32_BIOS
"$($bios.SMBIOSMajorVersion).$($bios.SMBIOSMinorVersion)"