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
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Cluster | Cluster[] | named |
|
Specifies the cluster whose configuration you want to retrieve. |
optional | ProgressAction | ActionPreference | named |
|
|
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.WMClusterExamples
Example 1
Get-WMCluster
Retrieves the configuration for the workload management feature for all clusters in the vCenter Server system.
Example 2
Get-WMCluster -Cluster "MyCluster"
Retrieves the configuration for the workload management feature for the cluster called "MyCluster".
Example 3
Get-Cluster "MyCluster" | Get-WMCluster
Retrieves the configuration for the workload management feature for the cluster called "MyCluster".
Related Commands
WMCluster
This cmdlet deactivates 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.