Listing Bios settings using Windows PowerShell

I have a Hp Pavilion g6 laptop running Windows 10 Pro and I would like to list all (or as much) bios setting as I can from within windows without actually going into the bios for debugging purposes. I searched online and I was able to find this PowerShell line

Get-WmiObject -Namespace root/hp/instrumentedBIOS -Class hp_biosEnumeration |Format-Table Name,Value -AutoSize

but it gives me this error

Get-WmiObject : Invalid namespace "root/hp/instrumentedBIOS" At line:1 char:1 + Get-WmiObject -Namespace root/hp/instrumentedBIOS -Class hp_biosEnume ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Get-WmiObject], ManagementException + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

and i don't know where to go from here

4

2 Answers

If you are happy to use a third party program you could try RWEverything.

SMBIOS

3

Below are three methods to find BIOS information from inside Windows.

BIOS via PowerShell

To use get all information related to the BIOS:

Get-WmiObject -Class Win32_BIOS 

The above command will give a small subset of properties of the Win32_BIOS class. To list all the properties use this:

Get-WmiObject -Class Win32_BIOS | Format-List * 

Other classes are:

CIM_BIOSElement CIM_BIOSFeature CIM_BIOSFeaturedBIOSElements CIM_BIOSLoadedlnNV CIM_VideoBIOSElemnt CIM_VideoBIOSFeatureVideoBIOSElements Win32_SMBIOSMemory Class Win32_SystemBIOS 

BIOS via wmic

The command:

wmic bios list full 

May give the following details:

BiosCharacteristics={7,8,11,12,15,16,19,26,27,28,29,32,33,39,40,41,42,43} BuildNumber= CodeSet= CurrentLanguage=en-US Description=Default System BIOS IdentificationCode= InstallableLanguages=14 InstallDate= LanguageEdition= ListOfLanguages={"en-US","da-DK","nl-NL","fi-FI","fr-FR","de-DE","it-IT","ja-JP","no-NO","pt-PT","es-ES","sv-SE","zh-CN","zh-TW"} Manufacturer=Hewlett-Packard Name=Default System BIOS OtherTargetOS= PrimaryBIOS=TRUE ReleaseDate=20170714000000.000000+000 SerialNumber=2CE22901QJ SMBIOSBIOSVersion=68IRR Ver. F.64 SMBIOSMajorVersion=2 SMBIOSMinorVersion=7 SMBIOSPresent=TRUE SoftwareElementID=Default System BIOS SoftwareElementState=3 Status=OK TargetOperatingSystem=0 Version=HPQOEM – f 

BIOS via the registry

The BIOS info is in the key HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\BIOS.

This might look like:

enter image description here

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like