Get-SCLoadBalancerConfiguration

Get-SCLoadBalancerConfiguration

Gets the configuration details for the load balancer that is contained within a computer tier configuration.

構文

Parameter Set: Default
Get-SCLoadBalancerConfiguration -ComputerTierConfiguration <ComputerTierConfiguration> [-VMMServer <ServerConnection> ] [ <CommonParameters>]

詳細説明

The Get-SCLoadBalancerConfiguration cmdlet gets the configuration details for the load balancer that is contained within a computer tier configuration.

パラメーター

-ComputerTierConfiguration<ComputerTierConfiguration>

Specifies a computer tier configuration object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

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

True (ByValue)

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

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

True (ByValue)

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

false

<CommonParameters>

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

入力

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

出力

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

  • LoadBalancerConfiguration

Example 1: Get the load balancer configuration for a computer tier configuration

The first command gets service the service configuration object named Service01, and then stores the object in the $ServiceConfig variable.

The second command gets the computer tier configuration for the service configuration stored in $ServiceConfig, and then stores the object in the $TierConfig variable.

The third command gets the load balancer configuration for the computer tier configuration stored in $TierConfig, and then stores the object in the $LBConfig variable.

The last command displays the properties of the load balancer configuration stored in $LBConfig to the user.

PS C:\> $ServiceConfig = Get-SCServiceConfiguration -Name "Service01"
PS C:\> $TierConfig = Get-SCComputerTierConfiguration -ServiceConfiguration $ServiceConfig
PS C:\> $LBConfig = Get-SCLoadBalancerConfiguration -ComputerTierConfiguration $TierConfig
PS C:\> $LBConfig

関連トピック

Set-SCLoadBalancerConfiguration

Get-SCServiceConfiguration

Get-SCComputerTierConfiguration