With PowerCLI, you can remove hosts from a Software-Defined Data Center (SDDC) in your VMware Cloud on AWS organization.

Remove hosts from an SDDC with PowerCLI. You can use the Cluster parameter to indicate from which cluster you want to remove hosts. If you do not specify a cluster, the hosts are removed from the default cluster of the SDDC.

Prerequisites

Verify that you are connected to VMware Cloud on AWS.

Procedure

  1. Create a variable with the SDDCs from which you want to remove hosts.
    $sddc = Get-VmcSddc 'Your SDDC'
  2. Remove hosts from the default cluster of the specified SDDCs.
    Remove-VmcSddcHost -Sddc $sddc -HostCount 2