Düzenle

Aracılığıyla paylaş


Win32_BaseBoard class

The Win32_BaseBoard WMI class represents a baseboard, which is also known as a motherboard or system board.

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

Syntax

[Dynamic, Provider("CIMWin32"), UUID("{FAF76B95-798C-11D2-AAD1-006008C78BC7}"), AMENDMENT]
class Win32_BaseBoard : CIM_Card
{
  string   Caption;
  string   ConfigOptions[];
  string   CreationClassName;
  real32   Depth;
  string   Description;
  real32   Height;
  boolean  HostingBoard;
  boolean  HotSwappable;
  datetime InstallDate;
  string   Manufacturer;
  string   Model;
  string   Name;
  string   OtherIdentifyingInfo;
  string   PartNumber;
  boolean  PoweredOn;
  string   Product;
  boolean  Removable;
  boolean  Replaceable;
  string   RequirementsDescription;
  boolean  RequiresDaughterBoard;
  string   SerialNumber;
  string   SKU;
  string   SlotLayout;
  boolean  SpecialRequirements;
  string   Status;
  string   Tag;
  string   Version;
  real32   Weight;
  real32   Width;
};

Members

The Win32_BaseBoard class has these types of members:

Methods

The Win32_BaseBoard class has these methods.

Method Description
IsCompatible Not implemented.

Properties

The Win32_BaseBoard class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

Short description of the object a one-line string.

This property is inherited from CIM_ManagedSystemElement.

ConfigOptions

Data type: string array

Access type: Read-only

Qualifiers: MappingStrings ("SMBIOS|Type 12|Configuration Options Strings")

Array that represents the configuration of the jumpers and switches located on the baseboard.

Example: "JP2: 1-2 Cache Size is 256K, 2-3 Cache Size is 512K, SW1-1: Close to Disable On Board Video"

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256)

Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be identified uniquely.

This property is inherited from CIM_PhysicalElement.

Depth

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Depth of the physical package in inches.

This property is inherited from CIM_PhysicalPackage.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Description of the object.

This property is inherited from CIM_ManagedSystemElement.

Height

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Height of the physical package in inches.

This property is inherited from CIM_PhysicalPackage.

HostingBoard

Data type: boolean

Access type: Read-only

If TRUE, the card is a motherboard, or a baseboard in a chassis.

This property is inherited from CIM_Card.

HotSwappable

Data type: boolean

Access type: Read-only

If TRUE, the package can be hot-swapped. A physical package can be hot-swapped if it is possible to replace the element with a physically different but equivalent element while the containing package has power applied to it that is, while it is ON. For example, a disk drive package inserted using SCA connectors is removable and can be hot-swapped. All packages that can be hot-swapped are inherently removable and replaceable.

This property is inherited from CIM_PhysicalPackage.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Date and time 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.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Name of the organization responsible for producing the physical element.

This property is inherited from CIM_PhysicalElement.

Model

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Name by which the physical element is known.

This property is inherited from CIM_PhysicalElement.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

Label by which the object is known. When subclassed, the property can be overridden to be a key property.

This property is inherited from CIM_ManagedSystemElement.

OtherIdentifyingInfo

Data type: string

Access type: Read-only

Captures additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar code data that is associated with an element that also has an asset tag. Note that if only bar code data is available and unique or able to be used as an element key, the property value would be NULL and the bar code data would be used as the class key, in the tag property.

This property is inherited from CIM_PhysicalElement.

PartNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Part number assigned by the organization responsible for producing or manufacturing the physical element.

This property is inherited from CIM_PhysicalElement.

PoweredOn

Data type: boolean

Access type: Read-only

If TRUE, the physical element is powered ON.

This property is inherited from CIM_PhysicalElement.

Product

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("SMBIOS|Type 2|Product")

Baseboard part number defined by the manufacturer.

Removable

Data type: boolean

Access type: Read-only

If TRUE, a package is removable. A physical package is removable if it is designed to be taken in and out of the physical container in which it is normally found without impairing the function of the overall packaging. A package can still be removable if the power must be OFF to perform the removal. If the power can be ON and the package removed, then the element is removable and can be hot-swapped. For example, an extra battery in a laptop is removable, as is a disk drive package inserted using SCA connectors. However, the latter can also be hot-swapped. A laptop's display is not removable, nor is a nonredundant power supply. Removing these components would impact the function of the overall packaging, or is impossible due to the tight integration of the package.

This property is inherited from CIM_PhysicalPackage.

Replaceable

Data type: boolean

Access type: Read-only

If TRUE, a package is replaceable. A physical package is replaceable if it is possible to replace (FRU or upgrade) the element with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable. Another example is a power supply package mounted on sliding rails. All removable packages are inherently replaceable.

This property is inherited from CIM_PhysicalPackage.

RequirementsDescription

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Card.SpecialRequirements")

Free-form string that describes the way in which this card is physically unique from other cards. The property only has meaning when the corresponding Boolean property SpecialRequirements is set to TRUE.

This property is inherited from CIM_Card.

RequiresDaughterBoard

Data type: boolean

Access type: Read-only

If TRUE, at least one daughterboard or auxiliary card is required to function properly.

This property is inherited from CIM_Card.

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Manufacturer-allocated number used to identify the physical element.

This property is inherited from CIM_PhysicalElement.

SKU

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Stock-keeping unit number for the physical element.

This property is inherited from CIM_PhysicalElement.

SlotLayout

Data type: string

Access type: Read-only

Free-form string that describes the slot position, typical usage, restrictions, individual slot spacing or any other pertinent information for the slots on a card.

This property is inherited from CIM_Card.

SpecialRequirements

Data type: boolean

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Card.RequirementsDescription")

If TRUE, this card is physically unique from other cards of the same type and therefore requires a special slot. For example, a double-wide card requires two slots. Another example is where a certain card may be used for the same general function as other cards but requires a special slot (for example, extra long), whereas the other cards can be placed in any available slot. If set to TRUE, then the corresponding property, RequirementsDescription, should specify the nature of the uniqueness or purpose of the card.

This property is inherited from CIM_Card.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

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.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Tag

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256), Override ("Tag"), MappingStrings ("WMI")

Unique identifier of the baseboard of the system.

This property is inherited from CIM_PhysicalElement.

Example: "Base Board"

Version

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Version of the physical element.

This property is inherited from CIM_PhysicalElement.

Weight

Data type: real32

Access type: Read-only

Qualifiers: Units ("pounds")

Weight of the physical package in pounds.

This property is inherited from CIM_PhysicalPackage.

Width

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Width of the physical package in inches.

This property is inherited from CIM_PhysicalPackage.

Remarks

The Win32_BaseBoard class is derived from CIM_Card which derives from CIM_PhysicalPackage.

Examples

The following VBScript sample also returns information about the computer baseboard.

On Error Resume Next 
 
strComputer = "." 
Set objWMIService = GetObject("winmgmts:" _ 
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") 
 
Set colItems = objWMIService.ExecQuery("Select * from Win32_BaseBoard") 
 
For Each objItem in colItems 
    For Each strOption in objItem.ConfigOptions 
        Wscript.Echo "Configuration Option: " & strOption 
    Next 
    Wscript.Echo "Depth: " & objItem.Depth 
    Wscript.Echo "Description: " & objItem.Description 
    Wscript.Echo "Height: " & objItem.Height 
    Wscript.Echo "Hosting Board: " & objItem.HostingBoard 
    Wscript.Echo "Hot Swappable: " & objItem.HotSwappable 
    Wscript.Echo "Manufacturer: " & objItem.Manufacturer 
    Wscript.Echo "Model: " & objItem.Model 
    Wscript.Echo "Name: " & objItem.Name 
    Wscript.Echo "Other Identifying Information: " & _ 
        objItem.OtherIdentifyingInfo 
    Wscript.Echo "Part Number: " & objItem.PartNumber 
    Wscript.Echo "Powered-On: " & objItem.PoweredOn 
    Wscript.Echo "Product: " & objItem.Product 
    Wscript.Echo "Removable: " & objItem.Removable 
    Wscript.Echo "Replaceable: " & objItem.Replaceable 
    Wscript.Echo "Requirements Description: " & objItem.RequirementsDescription 
    Wscript.Echo "Requires Daughterboard: " & objItem.RequiresDaughterBoard 
    Wscript.Echo "Serial Number: " & objItem.SerialNumber 
    Wscript.Echo "SKU: " & objItem.SKU 
    Wscript.Echo "Slot Layout: " & objItem.SlotLayout 
    Wscript.Echo "Special Requirements: " & objItem.SpecialRequirements 
    Wscript.Echo "Tag: " & objItem.Tag 
    Wscript.Echo "Version: " & objItem.Version 
    Wscript.Echo "Weight: " & objItem.Weight 
    Wscript.Echo "Width: " & objItem.Width 
Next 

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_Card

Computer System Hardware Classes