Get-SCACAzureHostedService

Get-SCACAzureHostedService

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.

パラメーター

-Subscription<ACAzureSubscriptionCloud>

Specifies a Windows Azure subscription. To get a Windows Azure subscription, use the Get-SCACAzureSubscription cmdlet.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACAzureSubscriptionCloud

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACAzureHostedService

Example 1: Get all Windows Azure hosted services for a subscription

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

関連トピック

Get-SCACAzureSubscription