Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: System Center 2012 R2 App Controller
Gets the hosted services for a specified Windows Azure subscription.
Parameter Set: Default
Get-SCACAzureHostedService [-Subscription] <ACAzureSubscriptionCloud> [ <CommonParameters>]
The Get-SCACAzureHostedService cmdlet gets the hosted services for a specified Windows Azure subscription.
Specifies a Windows Azure subscription. To get a Windows Azure subscription, use the Get-SCACAzureSubscription cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet.
- Microsoft.SystemCenter.CloudManager.PowerShell.ACAzureSubscriptionCloud
The output type is the type of the objects that the cmdlet emits.
- Microsoft.SystemCenter.CloudManager.PowerShell.ACAzureHostedService
The first command gets the Windows Azure subscription object named AzureSubscription01 and stores the object in the $Subscription variable.
The second command gets all Windows Azure hosted services for the subscription stored in $Subscription and displays information about the Windows Azure hosted services to the user.
PS C:\> $Subscription = Get-SCACAzureSubscription -Name "AzureSubscription01"
PS C:\> Get-SCACAzureHostedService –Subscription $Subscription