Export (0) Print
Expand All
Expand Minimize

Get-SCLoadBalancerConfiguration

Updated: April 29, 2014

Applies To: System Center 2012 R2 Virtual Machine Manager

Get-SCLoadBalancerConfiguration

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

Syntax

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




Detailed Description

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

Parameters

-ComputerTierConfiguration<ComputerTierConfiguration>

Specifies a computer tier configuration object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

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.

  • LoadBalancerConfiguration

Examples

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

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft