Get-VsanClusterPowerState Command | Vmware PowerCLI Reference

Get-VsanClusterPowerState

This cmdlets retrieves the power state of a vSAN cluster. You can use this cmdlet to check the power state of vSAN clusters, especially after powering them on or off.

Syntax

Get-VsanClusterPowerState
-Cluster < Cluster[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Cluster Cluster[] named
  • pipeline
Specifies the vSAN cluster for which you want to retrieve the power state.
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 the Connect-VIServer cmdlet.

Output

VMware.Vsan.Views.ClusterPowerContext

Examples

Example 1

Get-VsanClusterPowerState -Cluster "VSAN-Cluster"

Retrieves the power state of the specified cluster.

Related Commands

VsanCluster

This cmdlet executes vSAN cluster power on.

This cmdlet powers off a vSAN cluster.

VsanClusterConfiguration

This cmdlet retrieves vSAN related configuration data from clusters.

This cmdlet modifies vSAN configuration settings for a cluster.

VsanClusterDiskUpdate

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

VsanClusterHealth

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

VsanClusterPowerState

This cmdlets retrieves the power state of a vSAN cluster.

VsanClusterRebalance

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.