Test-LcmClusterHealth

This cmdlet tests cluster's hosts health respective to its target state. The specified cluster's hosts health is tested with the cluster's vSphere Lifecycle Manager desired state.

Syntax

-Cluster  <Cluster[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Cluster
Cluster[] named
  • wildcards
  • pipeline
  • Specifies a cluster whose hosts health you want to retrieve.
    optional
    Server
    VIServer[] named
  • wildcards
  • 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.VimAutomation.ViCore.Types.V1.Lcm.ClusterHealth

    Examples


    Example 1

    Test-LcmClusterHealth -Cluster Cluster

    Tests the cluster's hosts health respective to its target state.

    Related Commands

    Feedback

    Was this page helpful?