Read-SCLoadBalancerVIP

Refreshes load balancer VIP information in the VMM console.

Description

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

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

Parameters

LoadBalancerVIP

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a virtual IP (VIP) in a load balancer.

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 specific load balancer virtual IP (IP).
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com" 
PS C:\> $VIP = Get-SCLoadBalancerVIP -LoadBalancer $LoadBalancer -IPAddress "10.0.0.1" 
PS C:\> Read-SCLoadBalancerVIP –LoadBalancerVIP $VIP 
The first command gets the load balancer object with the address LB01.Contoso.com and stores the object in the $LoadBalancer variable.

The second command gets the load balancer VIP for the load balancer stored in $LoadBalancer with the IP address of 10.0.0.1.

The last command refreshes the load balancer VIP stored in $VIP.

See Also