Export (0) Print
Expand All
Expand Minimize

New-SCLoadBalancingMethod

Updated: April 29, 2014

Applies To: System Center 2012 R2 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.

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

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"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft