Get-WMCluster Command | Vmware PowerCLI Reference

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

Get-WMCluster
[-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:\&#62 Get-WMCluster

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

Example 2

PS C:\&#62 Get-WMCluster -Cluster "MyCluster"

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

Example 3

PS C:\&#62 Get-Cluster "MyCluster" | Get-WMCluster

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

Related Commands

WMCluster

This cmdlet disables the workload management feature on the specified cluster.

Enables the workload management feature on the specified cluster.

This cmdlet retrieves the configuration for the workload management feature of the clusters in the vCenter Server system.

This cmdlet modifies the workload settings of a Tanzu Kubernetes Grid cluster.