TechNet
Export (0) Print
Expand All

New-SCLoadBalancingMethod

Updated: September 27, 2012

Applies To: System Center 2012 - Virtual Machine Manager

New-SCLoadBalancingMethod

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

Syntax

Parameter Set: Default
New-SCLoadBalancingMethod -Name <String> [-Value <String> ] [ <CommonParameters>]




Detailed Description

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".

For more information about New-SCLoadBalancingMethod, type: "Get-Help New-SCLoadBalancingMethod -online".

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.

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.

  • LoadBalancingMethod

Examples

1: Create a load balancing method object.

This command creates a load balancing method object named Least Connections and stores the object in the $LBMethod variable.


PS C:\> $LBMethod = New-SCLoadBalancingMethod -Name "LeastConnections"

Related topics

 
Show:
© 2016 Microsoft