Remove-SCLoadBalancerVIPTemplate

Deletes a load balancer VIP template from VMM.

Syntax

Remove-SCLoadBalancerVIPTemplate
      [-VMMServer <ServerConnection>]
      [-LoadBalancerVIPTemplate] <LoadBalancerVIPTemplate>
      [-RunAsynchronously]
      [-PROTipID <Guid>]
      [-JobVariable <String>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-SCLoadBalancerVIPTemplate cmdlet deletes a load balancer virtual IP (VIP) template from Virtual Machine Manager (VMM).

Examples

Example 1: Delete a load balancer virtual IP template

PS C:\> $VIPTemplate = Get-SCLoadBalancerVIPTemplate -Name "VIPTemplate01"
PS C:\> Remove-SCLoadBalancerVIPTemplate -LoadBalancerVIPTemplate $VIPTemplate

The first command gets the load balancer VIP template named VIPtemplate01 and stores the object in the $VIPTemplate variable.

The second command removes the load balancer VIP template stored in $VIPTemplate.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LoadBalancerVIPTemplate

Specifies a load balancer VIP template.

Type:LoadBalancerVIPTemplate
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

LoadBalancerVIPTemplate

This cmdlet returns a LoadBalancerVIPTemplate object.