Get-WMCluster

This cmdlet retrieves the configuration for the workload management feature of the clusters in the vCenter Server system. It also requires a connection to the vCenter Server system by using the Connect-VIServer cmdlet.

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional
Cluster
Cluster[] named
  • pipeline
  • Specifies the cluster whose configuration you want to retrieve.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given 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.WorkloadManagement.Types.V1.WMCluster

    Examples


    Example 1

    PS C:\> Get-WMCluster

    Retrieves the configuration for the workload management feature for all clusters in the vCenter Server system.

    Example 2

    PS C:\> Get-WMCluster -Cluster "MyCluster"

    Retrieves the configuration for the workload management feature for the cluster called "MyCluster".

    Example 3

    PS C:\> Get-Cluster "MyCluster" | Get-WMCluster

    Retrieves the configuration for the workload management feature for the cluster called "MyCluster".

    Related Commands

    Feedback

    Was this page helpful?