Get-VsanStoragePoolDisk
This cmdlet fetches VsanStoragePoolDisk information from a certain host or cluster. It also enables you to fetch storage pool disks by disk canonical name. If both host and disk canonical name are specified, the system uses both parameters.
Syntax
[-DiskCanonicalName <String[]>]
[-Server <VIServer[]>]
[-VsanStoragePoolDiskType <VsanStoragePoolDiskType>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
Cluster[] | named |
|
Specifies the Cluster from which to fetch the storage pool disk info. | optional |
|
String[] | named |
|
Specifies the identifier of the disk. It accepts one or more disk canonical names. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | optional |
|
VsanStoragePoolDiskType | named |
|
Specifies the type of vSAN storage pool disk. Accepted values are single tier, capacity tier and performance tier. Note: This parameter is not currently supported and will be activated in a future release. |
[-DiskCanonicalName <String[]>]
[-Server <VIServer[]>]
[-VsanStoragePoolDiskType <VsanStoragePoolDiskType>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
VMHost[] | named |
|
Specifies the VMHost from which to fetch the storage pool disk info. | optional |
|
String[] | named |
|
Specifies the identifier of the disk. It accepts one or more disk canonical names. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | optional |
|
VsanStoragePoolDiskType | named |
|
Specifies the type of vSAN storage pool disk. Accepted values are single tier, capacity tier and performance tier. Note: This parameter is not currently supported and will be activated in a future release. |
Output
VMware.VimAutomation.Storage.Types.V1.Vsan.VsanStoragePoolDisk
Examples
Example 1
Retrieves all vSAN storage pool disks from the specified cluster.
Example 2
Retrieves all vSAN storage pool disks from the specified host.
Example 3
Retrieves all vSAN storage pool disks from the specified host and with the specified canonical name.
Example 4
Retrieves all vSAN storage pool disks from the specified host and with the specified canonical names.
Example 5
Retrieves all vSAN storage pool disks of the specified storage pool disk type from the specified cluster. Important: Only the "singleTier" storage pool disk type is supported in vCenter Server 8.0.
Related Commands
VsanStoragePerformance