Remove-SCLoadBalancerVIP

Removes a load balancer VIP from a load balancer.

Description

The Remove-SCLoadBalancerVIP cmdlet removes a load balancer virtual IP (VIP) from a load balancer.

For more information about Remove-SCLoadBalancerVIP, type: "Get-Help Remove-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: Remove a virtual IP (VIP) from a load balancer.
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.contoso.com"
PS C:\> $VIP = Get-SCLoadBalancerVIP -LoadBalancer $LoadBalancer -IPAddress "10.0.0.1"
PS C:\> Remove-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 removes the load balancer VIP from the load balancer.

See Also