New-SCLoadBalancerConnectionPersistence
New-SCLoadBalancerConnectionPersistence
Creates a load balancer connection persistence object that is used when you create a load balancer virtual IP.
Syntax
Parameter Set: Default
New-SCLoadBalancerConnectionPersistence -Name <String> [-Value <String> ] [ <CommonParameters>]
Detailed Description
The New-SCLoadBalancerConnectionPersistence cmdlet creates a load balancer connection persistence 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
.
Parameters
-Name<String>
Specifies the name of a VMM object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Value<String>
Specifies a string used to attribute an object or property.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- LoadBalancerConnectionPersistence
Examples
Example Example 1: Create a load balancer connection persistence object.
This command creates a load balancer connection persistence object named Source IP, and then stores the object in the $LBConnectionPersistence variable.
PS C:\> $LBConnectionPersistence = New-SCLoadBalancerConnectionPersistence -Name "Source IP" -Value "255.255.255.0"