Share via


Msvm_BIOSElement class

Represents the low-level software that is loaded into RAM to configure and start the system. The BIOS is not a logical device, hence the virtual BIOS should not be thought of as a virtual computer system device. As it is not a device, it does not have a corresponding resource pool. The BIOS object is associated with the virtual computer system through the Msvm_SystemBIOS association.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_BIOSElement : CIM_BIOSElement
{
  string   Caption = "BIOS";
  string   Description = "Microsoft Virtual BIOS";
  string   ElementName = "BIOS";
  datetime InstallDate;
  uint16   OperationalStatus[] = 2;
  string   Status;
  uint16   HealthState = 5;
  string   Name = "BIOS";
  uint16   SoftwareElementState = 2;
  string   SoftwareElementID = "Microsoft:GUID\device-specific data";
  uint16   TargetOperatingSystem = 0;
  string   OtherTargetOS;
  string   BuildNumber = 14;
  string   SerialNumber;
  string   CodeSet;
  string   IdentificationCode;
  string   LanguageEdition;
  string   Version = "8.02.00";
  string   Manufacturer = "Microsoft Corporation";
  boolean  PrimaryBIOS = True;
  string   CurrentLanguage = "en|US|iso8859-1";
  uint64   LoadedStartingAddress = 0xE0000;
  uint64   LoadedEndingAddress = 0xFFFFF;
  string   LoadUtilityInformation;
  uint8    EmbeddedControllerFirmwareMinorRelease = 255;
  uint8    EmbeddedControllerFirmwareMajorRelease = 255;
  uint8    SystemBIOSMinorRelease = 2;
  uint8    SystemBIOSMajorRelease = 8;
  string   StatusDescriptions[] = "OK";
  string   ListOfLanguages[] = "en|US|iso8859-1";
  datetime ReleaseDate;
  string   BIOSGUID;
  string   BIOSSerialNumber;
  string   BaseBoardSerialNumber;
  string   ChassisSerialNumber;
  string   ChassisAssetTag;
  boolean  BIOSNumLock;
  uint16   BootOrder[];
};

Members

The Msvm_BIOSElement class has these types of members:

Properties

The Msvm_BIOSElement class has these properties.

BaseBoardSerialNumber

Data type: string

Access type: Read-only

The serial number for the base board on the virtual system.

BIOSGUID

Data type: string

Access type: Read-only

The unique identifier for the BIOS.

BIOSNumLock

Data type: boolean

Access type: Read-only

The enabled state of the Num Lock in the BIOS.

BIOSSerialNumber

Data type: string

Access type: Read-only

The serial number for the BIOS.

BootOrder

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), MAX (4)

The order in which devices will be searched for a boot sector at startup.

BuildNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|Software Component Information|002.4")

The internal identifier for this compilation of software element. This property is inherited from CIM_SoftwareElement and it is always set to 14.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description (one-line string) of the object. This property is inherited from CIM_ManagedElement and it is always set to "BIOS".

ChassisAssetTag

Data type: string

Access type: Read-only

Automatically populated by the BIOS when the virtual machine is created.

ChassisSerialNumber

Data type: string

Access type: Read-only

Automatically populated by the BIOS when the virtual machine is created.

CodeSet

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

The code set used by the software element. This property is inherited from CIM_SoftwareElement and it is set to NULL.

CurrentLanguage

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_BIOSElement.ListOfLanguages")

The currently selected language for the BIOS. This property is inherited from CIM_BIOSElement and it is always set to "en|US|iso8859-1".

Description

Data type: string

Access type: Read-only

A textual description of the object. This property is inherited from CIM_ManagedElement and it is always set to "Microsoft Virtual BIOS".

ElementName

Data type: string

Access type: Read-only

A user-friendly name for the element. This property is inherited from CIM_ManagedElement and it is always set to "BIOS".

EmbeddedControllerFirmwareMajorRelease

Data type: uint8

Access type: Read-only

Qualifiers: Experimental

The major release of the embedded controller firmware. This property is inherited from CIM_BIOSElement and it is always set to 255.

EmbeddedControllerFirmwareMinorRelease

Data type: uint8

Access type: Read-only

Qualifiers: Experimental

The minor release of the embedded controller firmware. This property is inherited from CIM_BIOSElement and it is always set to 255.

HealthState

Data type: uint16

Access type: Read-only

The current health of the element. This property is inherited from CIM_ManagedSystemElement and it is always set to 5 (OK).

OK (5)

The element is fully functional and operates within normal operational parameters and without error.

IdentificationCode

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|SubComponent Software|001.6")

The manufacturer's identifier for this software element. Often this will be a stock keeping unit (SKU) or a part number. This property is inherited from CIM_SoftwareElement and it is set to NULL.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5")

Automatically populated by the BIOS when the virtual machine is created. This property is inherited from CIM_ManagedSystemElement.

LanguageEdition

Data type: string

Access type: Read-only

Qualifiers: MaxLen (32), MappingStrings ("MIF.DMTF|SubComponent Software|001.7")

The language edition of this software element. This property is inherited from CIM_SoftwareElement and it is set to NULL.

ListOfLanguages

Data type: string array

Access type: Read-only

A list of installable languages for the BIOS. THIS property is inherited from CIM_BIOSElement and it is always set to "en|US|iso8859-1".

LoadedEndingAddress

Data type: uint64

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.6")

The ending address of the memory which this BIOS occupies. This property is inherited from CIM_BIOSElement and it is set to 0xFFFFF.

LoadedStartingAddress

Data type: uint64

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.5")

The starting address of the memory which this BIOS occupies. This property is inherited from CIM_BIOSElement and it is set to 0xE0000.

LoadUtilityInformation

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|System BIOS|001.7")

A free-form string that describes the BIOS flash/load utility that is required to update the BIOS element. Version and other information may be indicated in this property. This property is inherited from CIM_BIOSElement and it is set to NULL.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.2")

The manufacturer of this BIOS. This property is inherited from CIM_BIOSElement and it is always set to "Microsoft Corporation".

Name

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

The name used to identify this software element. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_SoftwareElement and it is always set to "BIOS".

OperationalStatus

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_ManagedSystemElement.StatusDescriptions")

The current status of the element. This property is inherited from CIM_ManagedSystemElement and it is always set to 2 (OK).

OK (2)

Indicates full functionality without errors.

OtherTargetOS

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), ModelCorrespondence ("CIM_OperatingSystem.OtherTypeDescription")

The manufacturer and operating system for a software element when the TargetOperatingSystem property has a value of 1 (Other), which requires the OtherTargetOS property to have a non-NULL value. For all other values of TargetOperatingSystem, the OtherTargetOS property must be NULL. This property is inherited from CIM_SoftwareElement and it is set to NULL.

PrimaryBIOS

Data type: boolean

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.9")

If True, this is the primary BIOS of the computer system. This property is inherited from CIM_BIOSElement and it is set to True.

ReleaseDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.8")

The date that the BIOS was released.

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|ComponentID|001.4")

The assigned serial number of the BIOS. This property is inherited from CIM_SoftwareElement.

SoftwareElementID

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

An identifier for the software element. This property is inherited from CIM_SoftwareElement and it is always set to "Microsoft:GUID\device-specific data".

SoftwareElementState

Data type: uint16

Access type: Read-only

Qualifiers: Key

The state of a software element's life cycle. This property is inherited from CIM_SoftwareElement and it is always set to 2 (Executable).

Status

Data type: string

Access type: Read-only

Qualifiers: Deprecated ("CIM_ManagedSystemElement.OperationalStatus"), MaxLen (10)

This property is inherited from CIM_ManagedSystemElement but it is not used.

StatusDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_ManagedSystemElement.OperationalStatus")

Strings that describes the various OperationalStatus array values. This property is inherited from CIM_ManagedSystemElement and it is always set to "OK".

SystemBIOSMajorRelease

Data type: uint8

Access type: Read-only

Qualifiers: Experimental

The major release of the system BIOS. This property is inherited from CIM_BIOSElement and it is always set to 8.

SystemBIOSMinorRelease

Data type: uint8

Access type: Read-only

Qualifiers: Experimental

The minor release of the system BIOS. This property is inherited from CIM_BIOSElement and it is always set to 2.

TargetOperatingSystem

Data type: uint16

Access type: Read-only

Qualifiers: Key, MappingStrings ("MIF.DMTF|SubComponent Software|001.8"), ModelCorrespondence ("CIM_OperatingSystem.OSType")

The element's operating system environment. This property is inherited from CIM_SoftwareElement and it is always set to 0 (Unknown).

Version

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.3")

The version of the BIOS. This property is inherited from CIM_BIOSElement and it is always set to "8.02.00".

Remarks

Access to the Msvm_BIOSElement class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

CIM_BIOSElement

BIOS Classes

CIM_BIOSElement