PowerCLI Reference

Add-VmcSddcHost

Synopsis

This cmdlet adds hosts to a VMware Cloud on AWS software-defined data center (SDDC).

Syntax

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

Related Commands

New-VmcSddc
Remove-VmcSddc
Remove-VmcSddcHost

Detailed Description

This cmdlet adds hosts to 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 add.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 --------------------------

Add-VmcSddcHost -Sddc $sddc -HostCount 2

Adds two hosts to the $sddc SDDC.

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

Add-VmcSddcHost -Sddc $sddc -HostCount 2 -RunAsync

Adds asynchronously two hosts to the $sddc SDDC.


Copyright © VMware, Inc. All rights reserved.