次の方法で共有


MSFT_SMSystem class

Represents a computer system.

Windows Server 2012 R2 and Windows Server 2012: This class does not inherit from MSFT_SMStorageObject before Windows Server 2016.

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

Syntax

[dynamic, provider("WMIStorage"), AMENDMENT]
class MSFT_SMSystem : MSFT_SMStorageObject
{
  String ObjectId;
  String Identifier;
  String DisplayName;
  String Name;
  String NameFormat;
  String OtherIdentifyingInfo[];
  String IdentifyingDescriptions[];
  String ManagementServer;
  uint16 HealthStatus;
  string HealthStatusDescription;
  uint16 OperationalStatus[];
  string StatusDescription;
  string Manufacturer;
  string Model;
  string SerialNumber;
  string Tag;
  string FirmwareVersion;
  Uint16 CacheLevel;
};

Members

The MSFT_SMSystem class has these types of members:

Methods

The MSFT_SMSystem class has these methods.

Method Description
CreatePool Creates a concrete pool.
CreateReplicationGroup Creates a replication group.
Windows Server 2012 R2 and Windows Server 2012: This method is not available before Windows Server 2016.
CreateReplicationRelationship Creates two replication groups and then creates a replication relationship between them.
Windows Server 2012 R2 and Windows Server 2012: This method is not available before Windows Server 2016.
CreateStorageGroup Creates a storage group.
CreateStorageGroupEx Creates a storage group.
CreateStorageHardwareID Creates a new storage hardware ID.
CreateStorageVolume Start a job to create a storage volume.
DeleteReplicationRelationship Deletes a replication relationship between two replication groups.
Windows Server 2012 R2 and Windows Server 2012: This method is not available before Windows Server 2016.
Diagnose Attempts to find more information about the health state of an array.
GetPoolObjectIdFromJob Returns a object ID for the storage pool that is associated with the specified job.
GetStorageGroupObjectIDFromJob Returns a Storage Group Object Id based on a Job reference.
GetStorageVolumeNameFromJob This method is not currently available.
Windows Server 2012: Returns a storage volume name associated with the specified job.
GetStorageVolumeObjectIDFromJob Returns a storage volume object id based on a Job reference.

Properties

The MSFT_SMSystem class has these properties.

CacheLevel

Data type: Uint16

Access type: Read-only

Indicates the depth of discovery of objects in cache.

The possible values are.

Top-Level (0)

Mid-Level (1)

AllExceptDiskDrives (2)

All (3)

DisplayName

Data type: String

Access type: Read-only

The user-friendly name of the system.

FirmwareVersion

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_SoftwareIdentity.VersionString")

The version number of the system firmware.

HealthStatus

Data type: uint16

Access type: Read-only

Qualifiers: ArrayType ("Indexed")

The status of the system.

The possible values are.

Healthy (0)

Warning (1)

Unhealthy (2)

HealthStatusDescription

Data type: string

Access type: Read-only

Describes the health status in text.

Identifier

Data type: String

Access type: Read-only

Qualifiers: Required

The ID of the logical instance of the object. This ID must be unique within the scope of the storage system.

This property is inherited from MSFT_SMStorageObject.

IdentifyingDescriptions

Data type: String array

Access type: Read-only

An array that contains descriptions of the format used in the custom identifiers in OtherIdentifyingInfo. There must be a 1:1 mapping between this array and OtherIdentifyingInfo.

ManagementServer

Data type: String

Access type: Read-only

The name of the management server that manages the system.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PhysicalPackage.Manufacturer")

The name of the manufacturer of the system.

Model

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PhysicalPackage.Model")

The model name of the system.

Name

Data type: String

Access type: Read-only

The system defined name of the system.

NameFormat

Data type: String

Access type: Read-only

Indicates the format of Name property.

The possible values are.

("Other")

("IP")

("Dial")

("HID")

("NWA")

("HWA")

("X25")

("ISDN")

("IPX")

("DCC")

("ICD")

("E.164")

("SNA")

("OID/OSI")

("WWN")

("NAA")

ObjectId

Data type: String

Access type: Read-only

Qualifiers: Key, Required

The ID of this class instance. This ID must be unique within the scope of the Windows Storage Management server that hosts the provider object.

This property is inherited from MSFT_SMStorageObject.

OperationalStatus

Data type: uint16 array

Access type: Read-only

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

An array that contains the operational status of the system.

The possible values are.

Unknown (0)

Other (1)

OK (2)

Degraded (3)

Stressed (4)

Predictive Failure (5)

Error (6)

Non-Recoverable Error (7)

Starting (8)

Stopping (9)

Stopped (10)

In Service (11)

No Contact (12)

Lost Communication (13)

Aborted (14)

Dormant (15)

Supporting Entity in Error (16)

Completed (17)

Power Mode (18)

OtherIdentifyingInfo

Data type: String array

Access type: Read-only

An array that contains custom identifiers for the system. If this field is set, IdentifyingDescriptions must also be set.

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PhysicalPackage.SerialNumber")

The serial number of the system.

StatusDescription

Data type: string

Access type: Read-only

A description of the OperationalStatus value.

Tag

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PhysicalPackage.Tag")

The ID tag of the system.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMStorageObject

Windows Storage Management WMI Provider