PowerCLI Reference

Remove-VmcSddcHost

Synopsis

This cmdlet removes hosts from a VMware Cloud on AWS software-defined data center (SDDC)

Syntax

Remove-VmcSddcHost [-Confirm] -HostCount <Int32> [-RunAsync] -Sddc <VmcSddc[]> [-Server <CisServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

New-VmcSddc
Remove-VmcSddc
Add-VmcSddcHost

Detailed Description

This cmdlet removes hosts from a VMware Cloud on AWS software-defined data center (SDDC)

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
HostCountInt32Specifies the number of the host that you want to remove.trueFalse
RunAsyncSwitchParameterIndicates 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.falseFalse
SddcVmcSddc[]Specifies the SDDC.trueTrue (ByValue)
ServerCisServer[]Specifies the VMware Cloud on AWS servers 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-Vmc cmdlet.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

System.Object

Notes

Examples

-------------------------- Example 1 --------------------------

Remove-VmcSddcHost -Sddc $SDDC -HostCount 2

Removes two hosts from the $SDDC.

-------------------------- Example 2 --------------------------

Remove-VmcSddcHost -Sddc $SDDC -HostCount 2 -RunAsync

Removes asynchronously two hosts from the $SDDC.


Copyright © VMware, Inc. All rights reserved.