Moving clusters
You can use the Move-Cluster
cmdlet to move a cluster to a folder. The folder must be in the same datacenter as the cluster. The syntax of the
Move-Cluster
cmdlet is:
Move-Cluster [-Cluster] <Cluster[]> [-Destination] <VIContainer> [-Server <VIServer[]>] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
The -Cluster
and -Destination
parameters are required.
Besides a folder, you can specify the datacenter to which the cluster belongs as the value of the -Destination
parameter. In this case, the cluster is moved to the host system folder of the datacenter. It is not possible to move a cluster to another datacenter.
In the next example, Cluster01
is moved to the Accounting
folder:
PowerCLI C:\> Move-Cluster -Cluster Cluster01 -Destination Accounting Name HAEnabled HAFailover DrsEnabled DrsAutomationLevel Level ---- --------- ---------- ---------- ------------------ Cluster01 True...