PS_StorageCmdlets, ROOT\Microsoft\Windows\Storage

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

Description

Private methods used for mapping cmdlets to WMI methods. These methods should not be used directly and can change without notice.

PS_StorageCmdlets methods

PS_StorageCmdlets has 10 methods (10 Local)

NameOriginReturn
AddPhysicalDiskPS_StorageCmdletsuint32 {'out':True}
LaunchProviderHostPS_StorageCmdletsuint32 {'out':True}
RemovePhysicalDiskPS_StorageCmdletsuint32 {'out':True}
SetDiskPS_StorageCmdletsuint32 {'out':True}
SetPartitionPS_StorageCmdletsuint32 {'out':True}
SetPhysicalDiskPS_StorageCmdletsuint32 {'out':True}
SetStoragePoolPS_StorageCmdletsuint32 {'out':True}
SetStorageSubSystemPS_StorageCmdletsuint32 {'out':True}
SetStorageTierPS_StorageCmdletsuint32 {'out':True}
SetVirtualDiskPS_StorageCmdletsuint32 {'out':True}

Detailed description of PS_StorageCmdlets methods

Local methods (10) of PS_StorageCmdlets class

AddPhysicalDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StoragePoolobject:MSFT_StoragePool0-{'EmbeddedInstance':'MSFT_StoragePool','In':True}
StoragePoolUniqueIdstring1-{'In':True}
StoragePoolNamestring2-{'In':True}
StoragePoolFriendlyNamestring3-{'In':True}
VirtualDiskobject:MSFT_VirtualDisk4-{'EmbeddedInstance':'MSFT_VirtualDisk','In':True}
VirtualDiskUniqueIdstring5-{'In':True}
VirtualDiskNamestring6-{'In':True}
VirtualDiskFriendlyNamestring7-{'In':True}
PhysicalDisksobject:MSFT_PhysicalDisk8-{'EmbeddedInstance':'MSFT_PhysicalDisk','In':True,'Required':True}
Usageuint169-{'In':True,'ValueMap':['1', '2', '3', '5'],'Values':['Auto-Select', 'Manual-Select', 'Hot Spare', 'Journal']}
Description'AddPhysicalDisk'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '4096', '40001', '40002', '40003', '46000', '46001', '48000', '48006', '48007', '51000', '51002', '51003']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Method Parameters Checked - Job Started', 'Access denied', 'There are not enough resources to complete the operation.', 'Cache out of date', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'This operation is not supported on primordial storage pools.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.', 'One of the physical disks specified is not supported by this operation.', 'One of the physical disks specified is already in use.', 'One of the physical disks specified uses a sector size that is not supported by this storage pool.']
AddPhysicalDisk method is in 3 classes of ROOT\Microsoft\Windows\Storage and in 3 namespaces
LaunchProviderHost method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ExtendedStatusobject:MSFT_StorageExtendedStatus0-{'EmbeddedInstance':'MSFT_StorageExtendedStatus','Out':True}
implementedTrue
staticTrue
LaunchProviderHost method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 1 namespace
RemovePhysicalDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StoragePoolobject:MSFT_StoragePool0-{'EmbeddedInstance':'MSFT_StoragePool','In':True}
StoragePoolUniqueIdstring1-{'In':True}
StoragePoolNamestring2-{'In':True}
StoragePoolFriendlyNamestring3-{'In':True}
VirtualDiskobject:MSFT_VirtualDisk4-{'EmbeddedInstance':'MSFT_VirtualDisk','In':True}
VirtualDiskUniqueIdstring5-{'In':True}
VirtualDiskNamestring6-{'In':True}
VirtualDiskFriendlyNamestring7-{'In':True}
PhysicalDisksobject:MSFT_PhysicalDisk8-{'EmbeddedInstance':'MSFT_PhysicalDisk','In':True,'Required':True}
Description'RemovePhysicalDisk'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '4096', '40000', '40001', '40002', '40003', '46000', '46001', '48000', '48006', '48007', '50001', '50003', '51004']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Method Parameters Checked - Job Started', 'Not enough available capacity', 'Access denied', 'There are not enough resources to complete the operation.', 'Cache out of date', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'This operation is not supported on primordial storage pools.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.', 'Could not repair the virtual disk because too many physical disks failed. Not enough information exists on the remaining physical disks to reconstruct the lost data.', 'The virtual disk could not complete the operation because its health or operational status does not permit it.', 'One of the physical disks specified could not be removed because it is still in use.']
RemovePhysicalDisk method is in 3 classes of ROOT\Microsoft\Windows\Storage and in 3 namespaces
SetDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_Disk0-{'EmbeddedInstance':'MSFT_Disk','In':True}
UniqueIdstring1-{'In':True}
Pathstring2-{'In':True}
Numberuint323-{'In':True}
PartitionStyleuint164-{'In':True}
IsReadOnlyboolean5-{'In':True}
IsOfflineboolean6-{'In':True}
Signatureuint327-{'In':True}
Guidstring8-{'In':True}
Description'SetDisk'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '6', '40001', '40002', '40003', '41000', '41002', '41003', '41006', '41009', '41013', '41014', '41018', '41019']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Disk is in use', 'Access Denied', 'There are not enough resources to complete the operation.', 'Cache out of date', 'The disk has not been initialized.', 'The disk is read only.', 'The disk is offline.', 'A parameter is not valid for this type of partition.', 'Operation not supported on a critical disk.', 'Cannot convert the style of a disk with data or other known partitions on it.', 'The disk is not large enough to support a GPT partition style.', '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 object is managed by the Microsoft Failover Clustering component. The disk must be removed from the cluster to perform this operation.']
SetDisk method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
SetPartition method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_Partition0-{'EmbeddedInstance':'MSFT_Partition','In':True}
DiskIdstring1-{'In':True}
Offsetuint642-{'In':True}
DiskNumberuint323-{'In':True}
PartitionNumberuint324-{'In':True}
DriveLetterchar165-{'In':True}
NewDriveLetterchar166-{'In':True}
IsOfflineboolean7-{'In':True}
IsReadOnlyboolean8-{'In':True}
NoDefaultDriveLetterboolean9-{'In':True}
IsActiveboolean10-{'In':True}
IsHiddenboolean11-{'In':True}
Description'SetPartition'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '6', '40001', '40002', '41003', '41006', '41018', '42002', '42004', '42007', '42010', '42011', '42014']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'In Use', 'Access denied', 'There are not enough resources to complete the operation.', 'The disk is offline.', 'A parameter is not valid for this type of partition.', '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 requested access path is already in use.', 'Cannot assign access paths to hidden partitions.', 'The access path is not valid.', 'The operation is not allowed on a system or critical partition.', 'This operation is only supported on data partitions.', 'The volume still has access path to it.']
SetPartition method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
SetPhysicalDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_PhysicalDisk0-{'EmbeddedInstance':'MSFT_PhysicalDisk','In':True}
UniqueIdstring1-{'In':True}
FriendlyNamestring2-{'In':True}
NewFriendlyNamestring3-{'In':True}
Descriptionstring4-{'In':True}
Usageuint165-{'In':True}
MediaTypeuint166-{'In':True}
Description'SetPhysicalDisk'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '40001', '40002', '46000', '46001', '48006', '48007']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
SetPhysicalDisk method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
SetStoragePool method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_StoragePool0-{'EmbeddedInstance':'MSFT_StoragePool','In':True}
UniqueIdstring1-{'In':True}
Namestring2-{'In':True}
FriendlyNamestring3-{'In':True}
NewFriendlyNamestring4-{'In':True}
Usageuint165-{'In':True}
OtherUsageDescriptionstring6-{'In':True}
ProvisioningTypeDefaultuint167-{'In':True}
ResiliencySettingNameDefaultstring8-{'In':True}
EnclosureAwareDefaultboolean9-{'In':True}
WriteCacheSizeDefaultuint6410-{'In':True}
AutoWriteCacheSizeboolean11-{'In':True}
IsReadOnlyboolean12-{'In':True}
ClearOnDeallocateboolean13-{'In':True}
IsPowerProtectedboolean14-{'In':True}
RepairPolicyuint1615-{'In':True}
RetireMissingPhysicalDisksuint1616-{'In':True}
ThinProvisioningAlertThresholdsuint1617-{'In':True}
Description'SetStoragePool'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '40001', '40002', '46000', '46001', '48000', '48002', '48006', '48007', '48009', '49000', '50005']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'This operation is not supported on primordial storage pools.', 'The specified resiliency setting is not supported by this storage pool.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.', 'The number of thin provisioning alert thresholds specified exceeds the limit for this storage pool.', 'No resiliency setting with that name exists.', 'The value for WriteCacheSize is outside of the supported range of values.']
SetStoragePool method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
SetStorageSubSystem method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_StorageSubSystem0-{'EmbeddedInstance':'MSFT_StorageSubSystem','In':True}
UniqueIdstring1-{'In':True}
Namestring2-{'In':True}
FriendlyNamestring3-{'In':True}
Descriptionstring4-{'In':True}
AutomaticClusteringEnabledboolean5-{'In':True}
Description'SetStorageSubSystem'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '40001', '40002', '46000', '46001']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.']
SetStorageSubSystem method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
SetStorageTier method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_StorageTier0-{'EmbeddedInstance':'MSFT_StorageTier','In':True}
UniqueIdstring1-{'In':True}
FriendlyNamestring2-{'In':True}
NewFriendlyNamestring3-{'In':True}
MediaTypeuint164-{'In':True}
Descriptionstring5-{'In':True}
Description'SetStorageTier'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '40000', '48007']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Not enough available capacity', 'The storage pool could not complete the operation because its configuration is read-only.']
SetStorageTier method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces
SetVirtualDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InputObjectobject:MSFT_VirtualDisk0-{'EmbeddedInstance':'MSFT_VirtualDisk','In':True}
UniqueIdstring1-{'In':True}
Namestring2-{'In':True}
FriendlyNamestring3-{'In':True}
NewFriendlyNamestring4-{'In':True}
Usageuint165-{'In':True}
OtherUsageDescriptionstring6-{'In':True}
IsManualAttachboolean7-{'In':True}
StorageNodeNamestring8-{'In':True}
Accessuint169-{'In':True}
Description'SetVirtualDisk'
implementedTrue
staticTrue
ValueMap['0', '1', '2', '3', '4', '5', '40000', '40001', '40002', '46000', '46001', '48006', '48007', '50002', '50003', '50005']
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Not enough available capacity', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.', 'The virtual disk could not complete the operation because another computer controls its configuration.', 'The virtual disk could not complete the operation because its health or operational status does not permit it.', 'The value for WriteCacheSize is outside of the supported range of values.']
SetVirtualDisk method is in 1 class (PS_StorageCmdlets) of ROOT\Microsoft\Windows\Storage and in 2 namespaces

PS_StorageCmdlets Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'Private methods used for mapping cmdlets to WMI methods. These methods should not be used directly and can change without notice.'
dynamicTrue
locale'MS_409'
provider'StorageWMI'

PS_StorageCmdlets System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\Microsoft\Windows\Storage:PS_StorageCmdlets'___SYSTEM8
__NAMESPACE'ROOT\Microsoft\Windows\Storage'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT0___SYSTEM3
__RELPATH'PS_StorageCmdlets'___SYSTEM8
__DYNASTY'PS_StorageCmdlets'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'PS_StorageCmdlets'___SYSTEM8
__GENUS1___SYSTEM3
WUtils.com
online utility - toplist