< Back

Get-VsanEvacuationPlan

Sun Jan 19, 2020 7:16 pm

NAME Get-VsanEvacuationPlan



SYNOPSIS

This cmdlet retrieves information about the entity (disk, disk group, or host) you want to evacuate in various

modes.





SYNTAX

Get-VsanEvacuationPlan [-Entity] <VIObjectCore[]> [-EvacuationMode <VsanDataMigrationMode[]>] [-Server

<VIServer[]>] [<CommonParameters>]





DESCRIPTION

This cmdlet retrieves information about the entity (disk, disk group, or host) you want to evacuate in various

modes. You receive information about capacity usage only when the cmdlet determines that an entity can be

evacuated in a given mode.





PARAMETERS

-Entity <VIObjectCore[]>

Specifies the entity for which you want to retrieve evacuation information. This parameter accepts VMHost,

VsanDisk, and VsanDiskGroup entity types. OBN and wildcard are supported for VMHost type only.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-EvacuationMode <VsanDataMigrationMode[]>

Filters the results by data migration mode options.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this

parameter, the command runs on the default servers. For more information about default servers, see the

description of Connect-VIServer.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more VsanEvacuationPlan objects







NOTES









-------------------------- Example 1 --------------------------



Get-VsanEvacuationPlan -Entity $vmHost



Retrieves the evacuation plan about removing the $vmHost virtual machine host from the cluster.

-------------------------- Example 2 --------------------------



Get-VsanEvacuationPlan -Entity $diskGroup -EvacuationPlan Full



Retrieves the evacuation plan about removing the $diskGroup vSAN disk group for vSAN full data migration mode.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... nPlan.html