Expand Minimize

CIM_BIOSElement class

The CIM_BIOSElement class represents the low-level software that is loaded into non-volatile storage and used to start and configure a computer system.

Important  The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class CIM_BIOSElement : CIM_SoftwareElement
{
  string   BuildNumber;
  string   Caption;
  string   CodeSet;
  string   Description;
  string   IdentificationCode;
  datetime InstallDate;
  string   LanguageEdition;
  string   Manufacturer;
  string   Name;
  string   OtherTargetOS;
  boolean  PrimaryBIOS;
  string   SerialNumber;
  string   SoftwareElementID;
  uint16   SoftwareElementState;
  string   Status;
  uint16   TargetOperatingSystem;
  string   Version;
};

Members

The CIM_BIOSElement class has these types of members:

Properties

The CIM_BIOSElement class has these properties.

BuildNumber
Data type: string
Access type: Read-only

Internal identifier for this compilation of the software element. This property is inherited from CIM_SoftwareElement.

Caption
Data type: string
Access type: Read-only

Short textual description of the object. This property is inherited from CIM_ManagedSystemElement.

CodeSet
Data type: string
Access type: Read-only

Code set used by the software element. This property is inherited from CIM_SoftwareElement.

Description
Data type: string
Access type: Read-only

Textual description of the object. This property is inherited from CIM_ManagedSystemElement.

IdentificationCode
Data type: string
Access type: Read-only

Manufacturer's identifier, such as a stock keeping unit (SKU) or part number, for the software element. This property is inherited from CIM_SoftwareElement.

InstallDate
Data type: datetime
Access type: Read-only

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

LanguageEdition
Data type: string
Access type: Read-only

Language edition of the software element (use language codes defined in ISO 639). If the software element represents the multilingual or international version of a product, use the string "multilingual". This property is inherited from CIM_SoftwareElement.

Manufacturer
Data type: string
Access type: Read-only

Manufacturer of the software element. This property is inherited from CIM_SoftwareElement.

Name
Data type: string
Access type: Read-only

Name used to identify the software element This property is inherited from CIM_ManagedSystemElement.

OtherTargetOS
Data type: string
Access type: Read-only

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.

PrimaryBIOS
Data type: boolean
Access type: Read-only

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

SerialNumber
Data type: string
Access type: Read-only

Assigned serial number for the software element. This property is inherited from CIM_SoftwareElement.

SoftwareElementID
Data type: string
Access type: Read-only

Identifier for the software element, which should be used in conjunction with other keys to create a unique representation of the CIM_SoftwareElement. This property is inherited from CIM_SoftwareElement.

SoftwareElementState
Data type: uint16
Access type: Read-only

State of a software element's life cycle. This property is inherited from CIM_SoftwareElement.

ValueMeaning
0

Deployable.

Describes the details necessary for successful distribution and the details (conditions and actions) required to create a software element in the installable state (its next state).

1

Installable.

Describes the details necessary for successful installation and the details (conditions and actions) required to create a software element in the executable state (its next state).

2

Executable.

Describes the details necessary to successfully start and the details (conditions and actions) required to create a software element in the running state (its next state).

3

Running.

Describes the details necessary to monitor and operate an executable element.

 

Status
Data type: string
Access type: Read-only

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

"OK"
"Error"
"Degraded"
"Unknown"
"Pred Fail"
"Starting"
"Stopping"
"Service"
"Stressed"
"NonRecover"
"No Contact"
"Lost Comm"
TargetOperatingSystem
Data type: uint16
Access type: Read-only

Operating system environment. The value of this property does not ensure that the binary is executable without the version of the operating system and the architecture on which the operating system runs. The combination of these constructs allows the provider to clearly identify the level of operating system required for a particular software element. This property is inherited from CIM_SoftwareElement.

ValueMeaning
0

Unknown

1

Other

2

MACOS

3

ATTUNIX

4

DGUX

5

DECNT

6

Digital Unix

7

OpenVMS

8

HPUX

9

AIX

10

MVS

11

OS400

12

OS/2

13

JavaVM

14

MSDOS

15

WIN3x

16

WIN95

17

WIN98

18

WINNT

19

WINCE

20

NCR3000

21

NetWare

22

OSF

23

DC/OS

24

Reliant UNIX

25

SCO UnixWare

26

SCO OpenServer

27

Sequent

28

IRIX

29

Solaris

30

SunOS

31

U6000

32

ASERIES

33

TandemNSK

34

TandemNT

35

BS2000

36

LINUX

37

Lynx

38

XENIX

39

VM/ESA

40

Interactive UNIX

41

BSDUNIX

42

FreeBSD

43

NetBSD

44

GNU Hurd

45

OS9

46

MACH Kernel

47

Inferno

48

QNX

49

EPOC

50

IxWorks

51

VxWorks

52

MiNT

53

BeOS

54

HP MPE

55

NextStep

56

PalmPilot

57

Rhapsody

58

Windows 2000

59

Dedicated

60

VSE

61

TPF

 

Version
Data type: string
Access type: Read-only

Version should be in the form <Major>.<Minor>.<Revision> or <Major>.<Minor><letter><revision>.

This property is inherited from CIM_SoftwareElement.

Remarks

The CIM_BIOSElement class is derived from CIM_SoftwareElement.

WMI does not implement this class. For more information about classes derived from CIM_BIOSElement, see Win32 Classes.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

 

 

Show:
© 2014 Microsoft