Read-SCLoadBalancer

Refreshes load balancer information in the VMM console.

Description

The Read-SCLoadBalancer cmdlet refreshes load balancer information and reflects the updates in the System Center Virtual Machine Manager (VMM) console.

For more information about Read-SCLoadBalancer, type: "Get-Help Read-SCLoadBalancer -online".

Parameters

LoadBalancer

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a load balancer 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. 

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. 

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Refresh a load balancer.
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com" 
PS C:\> Read-SCLoadBalancer –LoadBalancer $LoadBalancer 
The first command gets the load balancer object stored at LB01.Contoso.com and stores the object in the $LoadBalancer variable.

The second command refreshes the load balancer stored in $LoadBalancer.

See Also