Get-VsanEsaEligibleDisk
This cmdlet fetches ScsiLun information for all vSAN ESA eligible disks of the target object which can be a vSAN cluster or a list of hosts.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Cluster | Cluster[] | named |
|
Specifies the clusters from which to fetch the vSAN ESA eligible disks. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | 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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VMHost | VMHost[] | named |
|
Specifies the hosts from which to fetch the vSAN ESA eligible disks. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | 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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
ScsiLun | ScsiLun[] | named |
|
Specifies the ScsiLun objects to be validated and returns only the vSAN ESA eligible ones. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | 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. |
Output
VMware.VimAutomation.ViCore.Types.V1.Host.Storage.Scsi.ScsiLunExamples
Example 1
Get-VsanEsaEligibleDisk -VMHost (get-vmhost 10.78.193.26)
Retrieves vSAN ESA eligible disks by a specified host.
Example 2
Get-VsanEsaEligibleDisk -Cluster $config.cluster
Retrieves vSAN ESA eligible disks by a specified cluster.
Example 3
$disk = Get-scsilun -VMHost (get-vmhost 10.78.193.26) Get-VsanEsaEligibleDisk -ScsiLun $disk
Validates and retrieves vSAN ESA eligible disks by a range of ScsiLun data objects.
Related Commands
VsanEsaEligibleDisk
This cmdlet fetches ScsiLun information for all vSAN ESA eligible disks of the target object which can be a vSAN cluster or a list of hosts.