Disable-WMCluster

This cmdlet disables the workload management feature on the cluster. This operation tears down the Kubernetes instance and the worker nodes associated with the cluster.

Syntax

-WMCluster  <WMCluster>
[-RunAsync]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
WMCluster
WMCluster named
  • pipeline
  • Specifies the cluster whose workload management functionality you want to disable.
    optional
    RunAsync
    SwitchParameter named Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console.
    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

    Examples


    Example 1

    PS C:\> Disable-WMCluster -WMCluster WorkloadManagementCluster

    Disables the workload management on a cluster named "WorkloadManagementCluster".

    Related Commands

    Feedback

    Was this page helpful?