Set-SCLoadBalancerTemplate

Configures the properties of a load balancer template.

Description

The Set-SCLoadBalancerTemplate cmdlet configures the properties of a load balancer template.

For more information about Set-SCLoadBalancerTemplate, type: "Get-Help Set-SCLoadBalancerTemplate -online".

Parameters

LoadBalancerTemplate

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a load balancer template object.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

LoadBalancerVIPTemplate

Required? false
Accept Pipeline Input? false
Position? named
Specifies a load balancer virtual IP (VIP) template.

LogicalNetworkVIP

Required? false
Accept Pipeline Input? false
Position? named
Specifies the logical networks from which the front-end IP address for the load balancer should be assigned (the front-end logical network affinity).

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

Examples

1: Configure a load balancer template.
PS C:\> $ServiceTemplate = Get-SCServiceTemplate -Name "ServiceTemplate01"
PS C:\> $TierTemplate = Get-SCComputerTierTemplate -ServiceTemplate $ServiceTemplate 
PS C:\> $LoadBalancerTemplate = Get-SCLoadBalancerTemplate -ComputerTierTemplate $TierTemplate
PS C:\> Set-SCLoadBalancerTemplate -LoadBalancerTemplate $LoadBalancerTemplate 
The first command gets the service template object named ServiceTemplate01 and stores the object in the $ServiceTemplate variable.

The second command gets the computer tier template for the service template stored in $ServiceTemplate and stores the object in the $TierTemplate variable.

The third command gets the load balancer template for the computer tier stored in $TierTemplate and stores the object in the $LoadBalancerTemplate variable.

The last command sets the properties for the load balancer template stored in $LoadBalancerTemplate.

See Also