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

class Msvm_BIOSElement : CIM_BIOSElement
{
  string   Caption = "BIOS";
  string   Description = "Microsoft Virtual BIOS";
  string   ElementName = "BIOS";
  datetime InstallDate;
  uint16   OperationalStatus[] = 2;
  string   StatusDescriptions[] = "OK";
  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   ListOfLanguages[] = "en|US|iso8859-1";
  string   CurrentLanguage = "en|US|iso8859-1";
  unit64   LoadedStartingAddress = 0xE0000;
  unit64   LoadedEndingAddress = 0xFFFFF;
  string   LoadUtilityInformation;
  datetime ReleaseDate;
  uint8    SystemBIOSMajorRelease = 8;
  uint8    SystemBIOSMinorRelease = 2;
  uint8    EmbeddedControllerFirmwareMinorRelease = 255;
  uint8    EmbeddedControllerFirmwareMajorRelease = 255;
  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

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)

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

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

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

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).

IdentificationCode
Data type: string
Access type: Read-only
Qualifiers: MaxLen (64)

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

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)

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: unit64
Access type: Read-only

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: unit64
Access type: Read-only

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

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: MaxLen (256)

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: MaxLen (1024)

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

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

OtherTargetOS
Data type: string
Access type: Read-only
Qualifiers: MaxLen (64)

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

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

The date that the BIOS was released.

SerialNumber
Data type: string
Access type: Read-only
Qualifiers: MaxLen (64)

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

SoftwareElementID
Data type: string
Access type: Read-only
Qualifiers: 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

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

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

StatusDescriptions
Data type: string array
Access type: Read-only

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

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

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

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: MaxLen (64)

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

Namespace

Root\Virtualization

MOF

WindowsVirtualization.mof

See also

BIOS Classes
CIM_BIOSElement

 

 

Community Additions

ADD
Show: