PowerCLI Reference

Get-AwsAccount

Synopsis

This cmdlet retrieves VMware Cloud on AWS accounts.

Syntax

Get-AwsAccount -Id <String[]> [-Server <CisServer[]>] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet retrieves VMware Cloud on AWS accounts.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
IdString[]Specifies VMware Cloud on AWS account ID.trueFalse
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

Return Type

VMware.VimAutomation.Vmc.Types.V1.CmdletObject.AwsAccount

Notes

## RELATED LINKS

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.


Copyright © VMware, Inc. All rights reserved.