Remove-SCLoadBalancerVIPMember

Removes a member from a load balancer VIP.

Description

The Remove-SCLoadBalancerVIPMember removes a member from a load balancer virtual IP (VIP).

For more information about Remove-SCLoadBalancerVIPMember, type: "Get-Help Remove-SCLoadBalancerVIPMember -online".

Parameters

LoadBalancerVIPMember

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a member of 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 member from a load balancer virtual IP (VIP).
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com"
PS C:\> $VIP = Get-SCLoadBalancerVIP -LoadBalancer $LoadBalancer -IPAddress "10.0.0.1"
PS C:\> $VIPMember = Get-SCLoadBalancerVIPMember -LoadBalancerVIP $VIP -IPAddress "10.0.0.1"
PS C:\> Remove-SCLoadBalancerVIPMember -LoadBalancerVIPMember $VIPMember
The first command gets the load balancer object with the address of LB01.Contoso.com and stores the object in the $LoadBalancer variable.

The second command gets the load balancer VIP with the IP address 10.0.0.1 for the load balancer stored in $LoadBalancer and stores the object in the $VIP variable.

The third command gets the VIP member for the load balancer VIP stored in $VIP with the address of 10.0.0.1 and stores the object in the $VIPMember variable.

The last command removes the VIP member stored in $VIPMember from the load balancer VIP.

See Also