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]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
Cluster[] | named |
|
Specifies the cluster whose configuration you want to retrieve. | optional |
|
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
WMCluster
This cmdlet retrieves the configuration for the workload management feature of the clusters in the vCenter Server system.
This cmdlet disables the workload management feature on the specified cluster.
Enables the workload management feature on the specified cluster.
This cmdlet modifies the workload settings of a Tanzu Kubernetes Grid cluster.