Stop-VsanCluster Command | Vmware PowerCLI Reference


This cmdlet powers off a vSAN cluster.


-Cluster < Cluster >
-PowerOffReason < String >
[-InfraVMs < VirtualMachine[] > ]
[-Server < VIServer[] > ]


Required Parameter Name Type Position Features Description
Cluster Cluster named
  • pipeline
Specifies the vSAN cluster to power off.
PowerOffReason String named
Specifies the reason for powering off. The allowed length is up to 512 characters.
optional InfraVMs VirtualMachine[] named
Specifies the UUIDs of infrastructure VMs that will be forced to power off during the vSAN cluster power-off and will be automatically powered on afterwards. Some VMs are deployed with vCeter Server-dependent services such as DNS. You can use this parameter to power off such VMs as they must power off together with their vCenter Server.
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 the Connect-VIServer cmdlet.



Example 1

Stop-VsanCluster -Cluster "VSAN-Cluster"

Powers off the specified cluster.

Related Commands


This cmdlet executes vSAN cluster power on.

This cmdlet powers off a vSAN cluster.


This cmdlet retrieves vSAN related configuration data from clusters.

This cmdlet modifies vSAN configuration settings for a cluster.


This cmdlet starts the update of all vSAN disks of a cluster to the latest vSAN disk format version supported by the cluster.


This cmdlet runs a health test on the specified vSAN clusters and returns the test results.


This cmdlets retrieves the power state of a vSAN cluster.


This cmdlet starts the proactive rebalance of the vSAN objects on the cluster hosts based on the vSAN disks usage when the disks are in imbalanced state.

This cmdlet stops the proactive rebalance of the vSAN objects on the cluster hosts.