New-SCLoadBalancerConnectionPersistence
New-SCLoadBalancerConnectionPersistence
Creates a load balancer connection persistence object that is used when you create a load balancer virtual IP.
構文
Parameter Set: Default
New-SCLoadBalancerConnectionPersistence -Name <String> [-Value <String> ] [ <CommonParameters>]
詳細説明
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
.
パラメーター
-Name<String>
Specifies the name of a VMM object.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Value<String>
Specifies a string used to attribute an object or property.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- LoadBalancerConnectionPersistence
例
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"