次の方法で共有


MSFT_SMFileSystem class

Represents a file system.

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

Windows Server 2012 R2 and Windows Server 2012: This class does not inherit from MSFT_SMStorageObject which is new for Windows Server 2016.

Syntax

[dynamic, provider("WMIStorage"), AMENDMENT]
class MSFT_SMFileSystem : MSFT_SMStorageObject
{
  String  ObjectId;
  String  Identifier;
  UInt16  HealthStatus;
  String  FileSystem;
  String  Name;
  String  FriendlyName;
  UInt64  Size;
  UInt64  SizeRemaining;
  Boolean IsReadOnly;
  UInt16  FileSystemType;
  Boolean IsDeduplicationEnabled;
  UInt16  DeduplicationWorkload;
};

Members

The MSFT_SMFileSystem class has these types of members:

Methods

The MSFT_SMFileSystem class has these methods.

Method Description
Delete Deletes the file system.
Diagnose Runs diagnostics on the file system.
ModifySize Resizes the file system.

Properties

The MSFT_SMFileSystem class has these properties.

DeduplicationWorkload

Data type: UInt16

Access type: Read-only

The de-duplication workload for the volume.

The possible values are.

VDI (1)

GPFS (2)

Custom (32768)

FileSystem

Data type: String

Access type: Read-only

TBD

FileSystemType

Data type: UInt16

Access type: Read-only

The underlying file system on the volume.

FriendlyName

Data type: String

Access type: Read-only

The user-friendly name of the file system.

HealthStatus

Data type: UInt16

Access type: Read-only

Indicates the health status of the file system.

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.

Windows Server 2012 R2 and Windows Server 2012: This property is present, but is not inherited from MSFT_SMStorageObject .

IsDeduplicationEnabled

Data type: Boolean

Access type: Read-only

True if de-duplication is enabled on the volume; otherwise, False.

IsReadOnly

Data type: Boolean

Access type: Read-only

True the volume is read only; otherwise, False.

Name

Data type: String

Access type: Read-only

The label of the file system.

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.

Windows Server 2012 R2 and Windows Server 2012: This property is present, but is not inherited from MSFT_SMStorageObject .

Size

Data type: UInt64

Access type: Read-only

The total size of the file system, in bytes.

SizeRemaining

Data type: UInt64

Access type: Read-only

The unused size of the unused portion of file system, in bytes.

Requirements

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

See also

MSFT_SMStorageObject

Windows Storage Management WMI Provider