Get-SCACCloud

Get-SCACCloud

Gets one or more cloud objects.

Syntax

Parameter Set: Default
Get-SCACCloud [[-CloudSystem] <ACCloudSystem> ] [[-Id] <Guid> ] [ <CommonParameters>]




Detailed Description

The Get-SCACCloud cmdlet gets one or more cloud objects.

Parameters

-CloudSystem<ACCloudSystem>

Specifies a cloud system object. To retrieve a cloud system object, use the Get-SCACCloudSystem cmdlet.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Id<Guid>

Specifies a GUID that represents the subscription ID for a cloud.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACCloudSystem, System.Guid

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACCloud

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

The first command gets the cloud system object named CloudSystem01 and stores the object in the $CloudSystem variable.

The second command gets the clouds for the cloud system stored in $CloudSystem (in this case, CloudSystem01).


PS C:\> $CloudSystem = Get-SCACCloudSystem -Name "CloudSystem01.Contoso.com"PS C:\> Get-SCACCloud -CloudSystem $CloudSystem

-------------------------- EXAMPLE 2 --------------------------

Description

-----------

This command gets the cloud object with the subscription id of bb4915e4-e4bf-499d-8126-b6e80c63daff.


PS C:\> Get-SCACCloud -Id "bb4915e4-e4bf-499d-8126-b6e80c63daff"

Related topics

Contribuições da comunidade

ADICIONAR
Mostrar: