Removes a load balancer template from a service template.
Description
The Remove-SCLoadBalancerTemplate cmdlet removes a load balancer template from a service template.
For more information about Remove-SCLoadBalancerTemplate, type: "Get-Help Remove-SCLoadBalancer -online".
Parameters
LoadBalancerTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a load balancer template object.
Confirm
Required?
false
Accept Pipeline Input?
false
Position?
named
Prompts for confirmation before running the command.
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.
Examples
1: Remove a load balancer template
from a service template.
The first command gets the service template object named ServiceTemplate01 and stores the object in the $ServiceTemplate variable.
The second command gets the load balancer template for the service template in $ServiceTemplate and stores the object in the $LoadBalancerTemplate variable.
The last command removes the load balancer template stored in $LoadBalancer from the service template stored in $ServiceTemplate.