New-SCLoadBalancerConnectionPersistence

Creates a load balancer connection persistence object that is used when you create a load balancer virtual IP.

Syntax

New-SCLoadBalancerConnectionPersistence
   -Name <String>
   [-Value <String>]
   [<CommonParameters>]

Description

The New-SCLoadBalancerConnectionPersistence cmdlet creates a load balancer connection persisetnce object that is used when you create a load balancer virtual IP.

For information about creating a load balancer virtual IP, type Get-Help New-SCLoadBalancerVIP -Detailed.

Examples

Example 1: Create a load balancer connection persistence object

PS C:\> $LBConnectionPersistence = New-SCLoadBalancerConnectionPersistence -Name "Source IP" -Value "255.255.255.0 "

This command creates a load balancer connection persistence object named Source IP and stores the object in the $LBConnectionPersistence variable.

Parameters

-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Value

Specifies a string used to attribute an object or property.

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

Outputs

LoadBalancerConnectionPersistence

This cmdlet returns a LoadBalancerConnectionPersistence object.