Get-SCACAzureSubscription
Applies To: System Center 2012 R2 App Controller
Get-SCACAzureSubscription
Gets a Windows Azure subscription.
Syntax
Parameter Set: SearchById
Get-SCACAzureSubscription [-Id] <Guid> [ <CommonParameters>]
Parameter Set: SearchByName
Get-SCACAzureSubscription [[-Name] <String> ] [ <CommonParameters>]
Detailed Description
The Get-SCACAzureSubscription cmdlet gets one or more Windows Azure subscriptions. You can get an individual subscription by its name or ID.
Parameters
-Id<Guid>
Specifies the ID, as a GUID, for a Windows Azure subscription.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a Windows Azure subscription.
Aliases |
none |
Required? |
false |
Position? |
1 |
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.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get a Windows Azure subscription by its name
This command gets the Windows Azure subscription named AzureSubscription01 by its name.
PS C:\> Get-SCACAzureSubscription –Name “AzureSubscription01”