Remove-SCLoadBalancer

Removes a load balancer from VMM.

Description

The Remove-SCLoadBalancer cmdlet removes a load balancer from System Center Virtual Machine Manager (VMM).

For more information about Remove-SCLoadBalancer, type: "Get-Help Remove-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: Remove a specific load balancer.
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com"
PS C:\> Remove-SCLoadBalancer -LoadBalancer $LoadBalancer
The first command gets the load balancer object at address LB01.Contoso.com and stores the object in the $LoadBalancer variable.

The second command removes the load balancer in $LoadBalancer from VMM.

See Also