MSFT_Volume, ROOT\Microsoft\Windows\Storage

Class | Methods (10) | Properties (9) | Qualifiers (5) | Instances (2) | Namespaces (3)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

Represents a volume on the system.

MSFT_Volume methods

MSFT_Volume has 10 methods (10 Local)

NameOriginReturn
FlushMSFT_Volumeuint32 {'out':True}
FormatMSFT_Volumeuint32 {'out':True}
GetAttributesMSFT_Volumeuint32 {'out':True}
GetCorruptionCountMSFT_Volumeuint32 {'out':True}
GetSupportedClusterSizesMSFT_Volumeuint32 {'out':True}
GetSupportedFileSystemsMSFT_Volumeuint32 {'out':True}
OptimizeMSFT_Volumeuint32 {'out':True}
RepairMSFT_Volumeuint32 {'out':True}
SetAttributesMSFT_Volumeuint32 {'out':True}
SetFileSystemLabelMSFT_Volumeuint32 {'out':True}

MSFT_Volume properties

MSFT_Volume has 9 properties (9 Local)

NameOriginCIMType
DriveLetterMSFT_Volume103 [char16]
DriveTypeMSFT_Volume19 [uint32]
FileSystemMSFT_Volume8 [string]
FileSystemLabelMSFT_Volume8 [string]
HealthStatusMSFT_Volume18 [uint16]
key
ObjectId
MSFT_Volume8 [string]
PathMSFT_Volume8 [string]
SizeMSFT_Volume21 [uint64]
SizeRemainingMSFT_Volume21 [uint64]

Detailed description of MSFT_Volume methods

Local methods (10) of MSFT_Volume class

Flush method
Returnuint32 {'out':True}
Description'This method is used to flush the cached data in the volume's file system to disk.'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter']
Flush method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 4 namespaces
Format method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FileSystemstring0-{'In':True}
FileSystemLabelstring1-{'In':True}
AllocationUnitSizeuint322-{'In':True,'Units':'Bytes'}
Fullboolean3-{'In':True}
Forceboolean4-{'In':True}
Compressboolean5-{'In':True}
ShortFileNameSupportboolean6-{'In':True}
SetIntegrityStreamsboolean7-{'In':True}
UseLargeFRSboolean8-{'In':True}
DisableHeatGatheringboolean9-{'In':True}
FormattedVolumeobject:MSFT_Volume10-{'EmbeddedInstance':'MSFT_Volume','Out':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus11-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'Format'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5', '7', '40001', '40004', '41018', '43000', '43001', '43002', '43003', '43004', '43005', '43006']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'This command is not supported on x86 running in x64 environment', 'Access Denied', 'An unexpected I/O error has occurred', 'The specified object is managed by the Microsoft Failover Clustering component. The disk must be in cluster maintenance mode and the cluster resource status must be online to perform this operation.', 'The specified cluster size is invalid', 'The specified file system is not supported', 'The volume cannot be quick formatted', 'The number of clusters exceeds 32 bits', 'The specified UDF version is not supported', 'The cluster size must be a multiple of the disk's physical sector size', 'Cannot perform the requested operation when the drive is read only']
Format method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 9 namespaces
GetAttributes method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
VolumeScrubEnabledboolean0-{'Description':'Indicates whether the automatic data integrity scanner should scrub files on this volume. True - files on this volume will be scrubbed. False - files on this volume will not be scrubbed.','Out':True}
Description'Gets the volume attributes'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter']
GetAttributes method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
GetCorruptionCount method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
CorruptionCountuint320-{'Out':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'Repair'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5', '40001']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied']
GetCorruptionCount method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
GetSupportedClusterSizes method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FileSystemstring0-{'In':True}
SupportedClusterSizesuint321-{'Out':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus2-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'GetSupportedClusterSizes'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter']
GetSupportedClusterSizes method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
GetSupportedFileSystems method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SupportedFileSystemsstring0-{'Out':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'GetSupportedFileSystems'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter']
GetSupportedFileSystems method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
Optimize method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ReTrimboolean0-{'In':True}
Analyzeboolean1-{'In':True}
Defragboolean2-{'In':True}
SlabConsolidateboolean3-{'In':True}
TierOptimizeboolean4-{'In':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus5-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'Optimize'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5', '7']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'This command is not supported on x86 running in x64 environment']
Optimize method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
Repair method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
OfflineScanAndFixboolean0-{'In':True}
Scanboolean1-{'In':True}
SpotFixboolean2-{'In':True}
Outputuint323-{'Out':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus4-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'Repair'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5', '7', '40001', '40004', '43001', '43006', '43007', '43008', '43009', '43010', '43011', '43012', '43013', '43014']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'This command is not supported on x86 running in x64 environment', 'Access denied', 'An unexpected I/O error has occurred', 'The specified file system is not supported', 'Cannot perform the requested operation when the drive is read only', 'The repair failed', 'The scan failed', 'A snapshot error occurred while scanning this drive. You can try again, but if this problem persists, run an offline scan and fix.', 'A scan is already running on this drive. Chkdsk cannot run more than one simultaneous scan on a drive.', 'A snapshot error occurred while scanning this drive. You can try again, but if this problem persists, run an offline scan and fix.', 'A snapshot error occurred while scanning this drive. Run an offline scan and fix.', 'Cannot open drive for direct access', 'Cannot determine the file system of the drive']
Repair method is in 3 classes of ROOT\Microsoft\Windows\Storage and in 6 namespaces
SetAttributes method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
EnableVolumeScrubboolean0-{'Description':'Sets whether the automatic data integrity scanner should scrub files on this volume. True - files on this volume will be scrubbed. False - files on this volume will not be scrubbed.','In':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'Sets the volume attributes'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5', '43015', '43016']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'This setting may not be changed due to the group policy setting', 'This setting may not be changed due to the global registry setting']
SetAttributes method is in 9 classes of ROOT\Microsoft\Windows\Storage and in 3 namespaces
SetFileSystemLabel method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FileSystemLabelstring0-{'In':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
Description'SetFileSystemLabel'
implementedTrue
ValueMap['0', '1', '2', '3', '4', '5']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter']
SetFileSystemLabel method is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 2 namespaces

Detailed description of MSFT_Volume properties

Local properties (9) of MSFT_Volume class

DriveLetter property
CIMTYPE'char16'
Description'Drive letter assigned to the volume.'
readTrue
DriveLetter property is in 2 classes of ROOT\Microsoft\Windows\Storage and in 8 namespaces
DriveType property
CIMTYPE'uint32'
Description'Denotes the type of the volume.'
readTrue
ValueMap['0', '1', '2', '3', '4', '5', '6']
Values['Unknown', 'Invalid Root Path', 'Removable', 'Fixed', 'Remote', 'CD-ROM', 'RAM Disk']
DriveType property is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 7 namespaces
FileSystem property
CIMTYPE'string'
Description'File system on the volume.'
readTrue
FileSystem property is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 11 namespaces
FileSystemLabel property
CIMTYPE'string'
Description'File system label of the volume.'
FileSystemLabel property is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 3 namespaces
HealthStatus property
CIMTYPE'uint16'
Description'Denotes the health of the volume.'
readTrue
ValueMap['0', '1', '2', '3']
Values['Healthy', 'Scan Needed', 'Spot Fix Needed', 'Full Repair Needed']
HealthStatus property is in 8 classes of ROOT\Microsoft\Windows\Storage and in 12 namespaces
ObjectId property
CIMTYPE'string'
Description'ObjectId is a mandatory property that is used to opaquely and uniquely identify an instance of a class within the scope of the host computer system.'
keyTrue
readTrue
ObjectId property is in 20 classes of ROOT\Microsoft\Windows\Storage and in 6 namespaces
Path property
CIMTYPE'string'
Description'Guid path of the volume.'
readTrue
RequiredTrue
Path property is in 2 classes of ROOT\Microsoft\Windows\Storage and in 30 namespaces
Size property
CIMTYPE'uint64'
Description'Total size of the volume'
readTrue
Units'Bytes'
Size property is in 8 classes of ROOT\Microsoft\Windows\Storage and in 16 namespaces
SizeRemaining property
CIMTYPE'uint64'
Description'Available space on the volume'
readTrue
Units'Bytes'
SizeRemaining property is in 1 class (MSFT_Volume) of ROOT\Microsoft\Windows\Storage and in 3 namespaces

MSFT_Volume Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassVersion'1.0'
Description'Represents a volume on the system.'
dynamicTrue
locale'MS_409'
provider'StorageWMI'

MSFT_Volume System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\Microsoft\Windows\Storage:MSFT_Volume'___SYSTEM8
__NAMESPACE'ROOT\Microsoft\Windows\Storage'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT9___SYSTEM3
__RELPATH'MSFT_Volume'___SYSTEM8
__DYNASTY'MSFT_Volume'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'MSFT_Volume'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to MSFT_Volume

Number of classes:2
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
MSFT_DiskImageToVolume020----
MSFT_PartitionToVolume0201---
comments powered by Disqus
WUtils.com