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

-Cluster  <Cluster[]>
[-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
    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

    Feedback

    Was this page helpful?