Get-AwsAccount
This cmdlet retrieves VMware Cloud on AWS accounts.
Syntax
[-Server
<CisServer[]>]
[CommonParameters]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
CisServer[] | named |
|
Specifies the VMware Cloud on AWS servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-Vmc cmdlet. |
-Id
<String[]>
[-Server <CisServer[]>]
[CommonParameters]
[-Server <CisServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String[] | named |
|
Specifies VMware Cloud on AWS account ID. | optional |
|
CisServer[] | named |
|
Specifies the VMware Cloud on AWS servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-Vmc cmdlet. |
Output
VMware.VimAutomation.Vmc.Types.V1.CmdletObject.AwsAccount
Examples
Example 1
Get-AwsAccount -Server $server
Retrieves all available VMware Cloud on AWS accounts on the $server server.
Example 2
Get-AwsAccount -Id "AccountId"
Retrieves a VMware Cloud on AWS account with an "AccountId" ID.
Related Commands
AwsAccount
This cmdlet retrieves VMware Cloud on AWS accounts.
AwsVpcSubnet
Retrieves a private subnet's range for a concrete account and region.