New-SCLoadBalancingMethod
New-SCLoadBalancingMethod
Creates a load balancer method object that is used when you create a load balancer virtual IP.
構文
Parameter Set: Default
New-SCLoadBalancingMethod -Name <String> [-Value <String> ] [ <CommonParameters>]
詳細説明
The New-SCLoadBalancingMethod cmdlet creates a load balancer method 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)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- LoadBalancingMethod
例
Example 1: Create a load balancing method object
This command creates a load balancing method object named LeastConnections, and then stores the object in the $LBMethod variable.
PS C:\> $LBMethod = New-SCLoadBalancingMethod -Name "LeastConnections"