Win32_BIOS

Win32 BIOS
root/cimv2dynamickey : Namekey : SoftwareElementIDkey : SoftwareElementStatekey : TargetOperatingSystem

Represents the attributes of the computer system's basic input/output services (BIOS) that are installed on a computer.

On this page

Main example

List instances

# All instances of Win32_BIOS, with the main properties
Get-CimInstance -ClassName Win32_BIOS |
    Select-Object -Property @(
        'Manufacturer'
        'SMBIOSBIOSVersion'
        'Version'
        'SerialNumber'
        'ReleaseDate'
    )

Examples

Decode numeric values

# Lookup table for SoftwareElementState (values documented by Microsoft)
$softwareElementStateName = @{
    0 = 'Deployable'
    1 = 'Installable'
    2 = 'Executable'
    3 = 'Running'
}

Get-CimInstance -ClassName Win32_BIOS |
    Select-Object -Property @(
        'Manufacturer'
        'SMBIOSBIOSVersion'
        'Version'
        'SerialNumber'
        'ReleaseDate'
        @{ Name = 'SoftwareElementState'; Expression = { $softwareElementStateName[[int]$_.SoftwareElementState] } }
    )

Query a remote computer (CIM session)

review before running
# Name of the remote computer
$computerName = 'SERVER01'
# The CIM session (WSMan by default) can be reused for several queries
$cimSession = New-CimSession -ComputerName $computerName
try {
    Get-CimInstance -CimSession $cimSession -ClassName Win32_BIOS |
        Select-Object -Property @(
            'Manufacturer'
            'SMBIOSBIOSVersion'
            'Version'
            'SerialNumber'
            'ReleaseDate'
        )
} finally {
    Remove-CimSession -CimSession $cimSession
}

WSMan (WinRM) is used by default. For a host without WinRM, create the session with -SessionOption (New-CimSessionOption -Protocol Dcom). Add -Credential to use another account.

Show the class structure

# Class structure: properties, types and flags (Key, ReadOnly…)
$cimClass = Get-CimClass -ClassName Win32_BIOS
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

31 of 31 properties
NameTypeAccessDescription
BiosCharacteristicsuint16[]read

Array of BIOS characteristics supported by the system as defined by the System Management BIOS Reference Specification.

This value comes from the BIOS Characteristics member of the BIOS Information structure in the SMBIOS information.

The possible values are.

40 47

Reserved for BIOS vendor

48 63

Reserved for system vendor

Values (40)
ValueLabelDescription
0Reserved
1Reserved
2Unknown
3BIOS Characteristics Not Supported
4ISA is supported
5MCA is supported
6EISA is supported
7PCI is supported
8PC Card (PCMCIA) is supported
9Plug and Play is supported
10APM is supported
11BIOS is Upgradeable (Flash)BIOS is Upgradable (Flash)
12BIOS shadowing is allowed
13VL-VESA is supported
14ESCD support is available
15Boot from CD is supported
16Selectable Boot is supported
17BIOS ROM is socketed
18Boot From PC Card (PCMCIA) is supported
19EDD (Enhanced Disk Drive) Specification is supported
20Int 13h - Japanese Floppy for NEC 9800 1.2mb (3.5\", 1k Bytes/Sector, 360 RPM) is supportedInt 13h - Japanese Floppy for NEC 9800 1.2mb (3.5, 1k Bytes/Sector, 360 RPM) is supported
21Int 13h - Japanese Floppy for Toshiba 1.2mb (3.5\", 360 RPM) is supportedInt 13h - Japanese Floppy for Toshiba 1.2mb (3.5, 360 RPM) is supported
22Int 13h - 5.25\" / 360 KB Floppy Services are supportedInt 13h - 5.25 / 360 KB Floppy Services are supported
23Int 13h - 5.25\" /1.2MB Floppy Services are supportedInt 13h - 5.25 /1.2MB Floppy Services are supported
24Int 13h - 3.5\" / 720 KB Floppy Services are supportedInt 13h - 3.5 / 720 KB Floppy Services are supported
25Int 13h - 3.5\" / 2.88 MB Floppy Services are supportedInt 13h - 3.5 / 2.88 MB Floppy Services are supported
26Int 5h, Print Screen Service is supported
27Int 9h, 8042 Keyboard services are supported
28Int 14h, Serial Services are supported
29Int 17h, printer services are supported
30Int 10h, CGA/Mono Video Services are supported
31NEC PC-98
32ACPI supportedACPI is supported
33USB Legacy is supported
34AGP is supported
35I2O boot is supported
36LS-120 boot is supported
37ATAPI ZIP Drive boot is supported
381394 boot is supported
39Smart Battery supportedSmart Battery is supported
Code
# Value of BiosCharacteristics for each instance
# Lookup table for BiosCharacteristics (values documented by Microsoft)
$biosCharacteristicsName = @{
    0 = 'Reserved'
    1 = 'Reserved'
    2 = 'Unknown'
    3 = 'BIOS Characteristics Not Supported'
    4 = 'ISA is supported'
    5 = 'MCA is supported'
    6 = 'EISA is supported'
    7 = 'PCI is supported'
    8 = 'PC Card (PCMCIA) is supported'
    9 = 'Plug and Play is supported'
    10 = 'APM is supported'
    11 = 'BIOS is Upgradeable (Flash)'
    12 = 'BIOS shadowing is allowed'
    13 = 'VL-VESA is supported'
    14 = 'ESCD support is available'
    15 = 'Boot from CD is supported'
    16 = 'Selectable Boot is supported'
    17 = 'BIOS ROM is socketed'
    18 = 'Boot From PC Card (PCMCIA) is supported'
    19 = 'EDD (Enhanced Disk Drive) Specification is supported'
    20 = 'Int 13h - Japanese Floppy for NEC 9800 1.2mb (3.5\, 1k…'
    21 = 'Int 13h - Japanese Floppy for Toshiba 1.2mb (3.5\, 360 RPM)…'
    22 = 'Int 13h - 5.25\ / 360 KB Floppy Services are supported'
    23 = 'Int 13h - 5.25\ /1.2MB Floppy Services are supported'
    24 = 'Int 13h - 3.5\ / 720 KB Floppy Services are supported'
    25 = 'Int 13h - 3.5\ / 2.88 MB Floppy Services are supported'
    26 = 'Int 5h, Print Screen Service is supported'
    27 = 'Int 9h, 8042 Keyboard services are supported'
    28 = 'Int 14h, Serial Services are supported'
    29 = 'Int 17h, printer services are supported'
    30 = 'Int 10h, CGA/Mono Video Services are supported'
    31 = 'NEC PC-98'
    32 = 'ACPI supported'
    33 = 'USB Legacy is supported'
    34 = 'AGP is supported'
    35 = 'I2O boot is supported'
    36 = 'LS-120 boot is supported'
    37 = 'ATAPI ZIP Drive boot is supported'
    38 = '1394 boot is supported'
    39 = 'Smart Battery supported'
}
# BiosCharacteristics is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_BIOS -Property BiosCharacteristics |
    Select-Object -ExpandProperty BiosCharacteristics |
    ForEach-Object -Process { $biosCharacteristicsName[[int]$_] }
BIOSVersionstring[]read

Array of the complete system BIOS information. In many computers there can be several version strings that are stored in the registry and represent the system BIOS information.

Code
# Value of BIOSVersion for each instance
# BIOSVersion is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_BIOS -Property BIOSVersion |
    Select-Object -ExpandProperty BIOSVersion
BuildNumberstringread

Internal identifier for this compilation of this software element.

Code
# Value of BuildNumber for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, BuildNumber |
    Select-Object -Property Name, SoftwareElementID, BuildNumber
Captionstringread

Short description of the object a one-line string.

Code
# Value of Caption for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, Caption |
    Select-Object -Property Name, SoftwareElementID, Caption
CodeSetstringread

Code set used by this software element.

Code
# Value of CodeSet for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, CodeSet |
    Select-Object -Property Name, SoftwareElementID, CodeSet
CurrentLanguagestringread

Name of the current BIOS language.

Code
# Value of CurrentLanguage for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, CurrentLanguage |
    Select-Object -Property Name, SoftwareElementID, CurrentLanguage
Descriptionstringread

Description of the object.

Code
# Value of Description for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, Description |
    Select-Object -Property Name, SoftwareElementID, Description
EmbeddedControllerMajorVersionuint8read

The major release of the embedded controller firmware.

This value comes from the Embedded Controller Firmware Major Release member of the BIOS Information structure in the SMBIOS information.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 10 and Windows Server 2016.

Code
# Value of EmbeddedControllerMajorVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, EmbeddedControllerMajorVersion |
    Select-Object -Property Name, SoftwareElementID, EmbeddedControllerMajorVersion
EmbeddedControllerMinorVersionuint8read

The minor release of the embedded controller firmware.

This value comes from the Embedded Controller Firmware Minor Release member of the BIOS Information structure in the SMBIOS information.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 10 and Windows Server 2016.

Code
# Value of EmbeddedControllerMinorVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, EmbeddedControllerMinorVersion |
    Select-Object -Property Name, SoftwareElementID, EmbeddedControllerMinorVersion
IdentificationCodestringread

Manufacturer's identifier for this software element. Often this will be a stock keeping unit (SKU) or a part number.

Code
# Value of IdentificationCode for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, IdentificationCode |
    Select-Object -Property Name, SoftwareElementID, IdentificationCode
InstallableLanguagesuint16read

Number of languages available for installation on this system. Language may determine properties such as the need for Unicode and bidirectional text.

Code
# Value of InstallableLanguages for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, InstallableLanguages |
    Select-Object -Property Name, SoftwareElementID, InstallableLanguages
InstallDatedatetimeread

Date and time the object was installed. This property does not need a value to indicate that the object is installed.

Code
# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, InstallDate |
    Select-Object -Property Name, SoftwareElementID, InstallDate
LanguageEditionstringread

Language edition of this software element. The language codes defined in ISO 639 should be used. Where the software element represents a multilingual or international version of a product, the string "multilingual" should be used.

Code
# Value of LanguageEdition for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, LanguageEdition |
    Select-Object -Property Name, SoftwareElementID, LanguageEdition
ListOfLanguagesstring[]read

Array of names of available BIOS-installable languages.

Code
# Value of ListOfLanguages for each instance
# ListOfLanguages is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_BIOS -Property ListOfLanguages |
    Select-Object -ExpandProperty ListOfLanguages
Manufacturerstringread

Manufacturer of this software element.

This value comes from the Vendor member of the BIOS Information structure in the SMBIOS information.

Code
# Value of Manufacturer for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, Manufacturer |
    Select-Object -Property Name, SoftwareElementID, Manufacturer
Name keystringread

Name used to identify this software element.

Code
# Value of Name for each instance
Get-CimInstance -ClassName Win32_BIOS -Property SoftwareElementID, Name |
    Select-Object -Property SoftwareElementID, Name
OtherTargetOSstringread

Records the manufacturer and operating system type for a software element when the TargetOperatingSystem property has a value of 1 (Other). When TargetOperatingSystem has a value of 1, OtherTargetOS must have a nonnull value. For all other values of TargetOperatingSystem, OtherTargetOS is NULL.

Code
# Value of OtherTargetOS for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, OtherTargetOS |
    Select-Object -Property Name, SoftwareElementID, OtherTargetOS
PrimaryBIOSbooleanread

If TRUE, this is the primary BIOS of the computer system.

Code
# Value of PrimaryBIOS for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, PrimaryBIOS |
    Select-Object -Property Name, SoftwareElementID, PrimaryBIOS
ReleaseDatedatetimeread

Release date of the Windows BIOS in the Coordinated Universal Time (UTC) format of YYYYMMDDHHMMSS.MMMMMM(+-)OOO.

This value comes from the BIOS Release Date member of the BIOS Information structure in the SMBIOS information.

Code
# Value of ReleaseDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, ReleaseDate |
    Select-Object -Property Name, SoftwareElementID, ReleaseDate
SerialNumberstringread

Assigned serial number of the software element.

Code
# Value of SerialNumber for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SerialNumber |
    Select-Object -Property Name, SoftwareElementID, SerialNumber
SMBIOSBIOSVersionstringread

BIOS version as reported by SMBIOS.

This value comes from the BIOS Version member of the BIOS Information structure in the SMBIOS information.

Code
# Value of SMBIOSBIOSVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SMBIOSBIOSVersion |
    Select-Object -Property Name, SoftwareElementID, SMBIOSBIOSVersion
SMBIOSMajorVersionuint16read

Major SMBIOS version number. This property is NULL if SMBIOS is not found.

Code
# Value of SMBIOSMajorVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SMBIOSMajorVersion |
    Select-Object -Property Name, SoftwareElementID, SMBIOSMajorVersion
SMBIOSMinorVersionuint16read

Minor SMBIOS version number. This property is NULL if SMBIOS is not found.

Code
# Value of SMBIOSMinorVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SMBIOSMinorVersion |
    Select-Object -Property Name, SoftwareElementID, SMBIOSMinorVersion
SMBIOSPresentbooleanread

If true, the SMBIOS is available on this computer system.

Code
# Value of SMBIOSPresent for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SMBIOSPresent |
    Select-Object -Property Name, SoftwareElementID, SMBIOSPresent
SoftwareElementID keystringread

Identifier for this software element; designed to be used in conjunction with other keys to create a unique representation of this instance.

Code
# Value of SoftwareElementID for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID |
    Select-Object -Property Name, SoftwareElementID
SoftwareElementState keyuint16read

State of a software element.

The possible values are.

Values (4)
ValueLabelDescription
0Deployable
1Installable
2Executable
3Running
Code
# Value of SoftwareElementState for each instance
# Lookup table for SoftwareElementState (values documented by Microsoft)
$softwareElementStateName = @{
    0 = 'Deployable'
    1 = 'Installable'
    2 = 'Executable'
    3 = 'Running'
}
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SoftwareElementState |
    Select-Object -Property @(
        'Name'
        'SoftwareElementID'
        @{ Name = 'SoftwareElementState'; Expression = { $softwareElementStateName[[int]$_.SoftwareElementState] } }
    )
Statusstringread

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states.

The possible values are.

Values (12)
ValueLabelDescription
OKOK
ErrorError
DegradedDegraded
UnknownUnknown
Pred FailPred Fail
StartingStarting
StoppingStopping
ServiceService
StressedStressed
NonRecoverNonRecover
No ContactNo Contact
Lost CommLost Comm
Code
# Value of Status for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, Status |
    Select-Object -Property Name, SoftwareElementID, Status
SystemBiosMajorVersionuint8read

The major release of the System BIOS.

This value comes from the System BIOS Major Release member of the BIOS Information structure in the SMBIOS information.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 10 and Windows Server 2016.

Code
# Value of SystemBiosMajorVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SystemBiosMajorVersion |
    Select-Object -Property Name, SoftwareElementID, SystemBiosMajorVersion
SystemBiosMinorVersionuint8read

The minor release of the System BIOS.

This value comes from the System BIOS Minor Release member of the BIOS Information structure in the SMBIOS information.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 10 and Windows Server 2016.

Code
# Value of SystemBiosMinorVersion for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, SystemBiosMinorVersion |
    Select-Object -Property Name, SoftwareElementID, SystemBiosMinorVersion
TargetOperatingSystem keyuint16read

Target operating system of the owning software element.

The possible values are.

Values (62)
ValueLabelDescription
0Unknown
1Other
2MACOS
3ATTUNIX
4DGUX
5DECNT
6Digital Unix
7OpenVMS
8HPUX
9AIX
10MVS
11OS400
12OS/2
13JavaVM
14MSDOS
15WIN3x
16WIN95
17WIN98
18WINNT
19WINCE
20NCR3000
21NetWare
22OSF
23DC/OS
24Reliant UNIX
25SCO UnixWare
26SCO OpenServer
27Sequent
28IRIX
29Solaris
30SunOS
31U6000
32ASERIES
33TandemNSK
34TandemNT
35BS2000
36LINUX
37Lynx
38XENIX
39VM/ESA
40Interactive UNIX
41BSDUNIX
42FreeBSD
43NetBSD
44GNU Hurd
45OS9
46MACH Kernel
47Inferno
48QNX
49EPOC
50IxWorks
51VxWorks
52MiNT
53BeOS
54HP MPE
55NextStep
56PalmPilot
57Rhapsody
58Windows 2000
59Dedicated
60VSE
61TPF
Code
# Value of TargetOperatingSystem for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, TargetOperatingSystem |
    Select-Object -Property Name, SoftwareElementID, TargetOperatingSystem
Versionstringread

Version of the BIOS. This string is created by the BIOS manufacturer.

Code
# Value of Version for each instance
Get-CimInstance -ClassName Win32_BIOS -Property Name, SoftwareElementID, Version |
    Select-Object -Property Name, SoftwareElementID, Version

Remarks

The Win32_BIOS class is derived from CIM_BIOSElement.

The properties in the Win32_BIOS class may change for a specific computer system with the same BIOS, for example booting through a legacy BIOS mode vs. booting through UEFI BIOS mode. However the properties retrieved from the SMBIOS structures should remain the same.

Inheritance

Superclass chain

  1. CIM_ManagedSystemElement
  2. CIM_LogicalElement
  3. CIM_SoftwareElement
  4. CIM_BIOSElement
  5. Win32_BIOS

Known subclasses

No known subclass.

Requirements

Namespace
root/cimv2
Minimum client
Windows Vista
Minimum server
Windows Server 2008
Provider
CIMWin32
MOF file
CIMWin32.mof
DLL
CIMWin32.dll
Class qualifiers

Dynamic Provider("CIMWin32") UUID("{8502C4E1-5FBB-11D2-AAC1-006008C78BC7}") AMENDMENT

Microsoft source

Source: Microsoft Learn

Descriptions, properties and methods come from the Microsoft documentation (MicrosoftDocs/win32 repository), published under the CC BY 4.0 licence. Formatting and translations are specific to this site; the PowerShell examples are written for it.