Previously we looked at retrieving computer system information using WMI. We looked at the BIOS information in passing. There is a lot more information held in the BIOS
Get-WmiObject -Class Win32_Bios | Select -Property BuildNumber, CurrentLanguage, InstallableLanguages, Manufacturer, Name, PrimaryBIOS, ReleaseDate, SerialNumber, SMBIOSBIOSVersion, SMBIOSMajorVersion, SMBIOSMinorVersion, SMBIOSPresent, Status, Version, BiosCharacteristics
Using the Win32_Bios class we just select the properties we want to examine. This is 1 line. The original took 20 lines.
If you want to expand the BiosCharacteristics to see the integer values then you can use
Get-WmiObject -Class Win32_Bios | Select -ExpandProperty BiosCharacteristics