VmcSddc Category | Vmware PowerCLI Reference

Vmc Sddc Category

Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations

Step 1: Retrieve a object by running a Get command

You can READ objects by using Get-VmcSddc cmdlet. See example below:

# Retrieves the deleted and non-deleted SDDCs named "SddcName".

Get-VmcSddc -Name "SddcName" -IncludeDeleted

Step 2 : Run commands from the CRUD group

You can CREATE objects by using New-VmcSddc cmdlet. See example below:

# Creates a new SDDC with the name "SddcName" with one host. The SDDC provider is Aws, the region is US_EAST_1. The SDDC is not linked to an account. Sddc type is a single host.

New-VmcSddc -Name "SddcName" -Provider Aws -HostCount 1 -Region "US_EAST_1" -SddcType SingleHost -SkipAccountLinking
You can UPDATE objects by using Add-VmcSddcHost cmdlet. See example below:

# Adds two hosts to the default cluster of the specified $sddc SDDC.

Add-VmcSddcHost -Sddc $sddc -HostCount 2
You can REMOVE objects by using Remove-VmcSddc cmdlet. See example below:

# Removes the specified $Sddc SDDC from the VMware Cloud environment.

Remove-VmcSddc -Sddc $SDDC

Step 3: Explore More Related Commands:


Get-VmcSddcCluster This cmdlet retrieves clusters of VMware Cloud on AWS software-defined data centers (SDDCs) from the VMware Cloud environment.
Get-VmcSddcGroup This cmdlet retrieves groups of VMware Cloud on AWS software-defined data centers (SDDCs) from the VMware Cloud environment.
Get-VmcSddcNetworkService This cmdlet retrieves PSObjects that represent services for network configuration managment of an SDDC in VMware Cloud.
Get-VmcSddcSiteRecovery This cmdlet retrieves the site recovery parameters of VMware Cloud on AWS software-defined data centers (SDDCs).
Get-VmcSddcSiteRecoveryInstance This cmdlet retrieves the site recovery instances for VMware Cloud on AWS software-defined data centers (SDDCs) that have site recovery enabled.
New-VmcSddcCluster This cmdlet creates а cluster and adds it to a VMware Cloud on AWS software-defined data center (SDDC).
New-VmcSddcSiteRecoveryInstance This cmdlet creates а new site recovery instance for a VMware Cloud on AWS software-defined data center (SDDC) that has site recovery activated.
Remove-VmcSddcCluster This cmdlet removes clusters from a VMware Cloud on AWS software-defined data center (SDDC).
Remove-VmcSddcHost This cmdlet removes hosts from a VMware Cloud on AWS software-defined data center (SDDC). If no cluster is specified, the hosts are removed from the default cluster of the SDDC. If a cluster is passed, the hosts are removed from the specified cluster.
Remove-VmcSddcSiteRecoveryInstance This cmdlet removes site recovery instances from a VMware Cloud on AWS software-defined data center (SDDC) that has site recovery activated.
Set-VmcSddc This cmdlet modifies a specified VMware Cloud on AWS software-defined data center (SDDC). This cmdlet can activate or deactivate site recovery for a specified SDDC, and upsize an SDDC.