Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Set-MSDSMGlobalDefaultLoadBalancePolicy

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Sets the default load balance policy for MPIO devices.

SYNTAX

Set-MSDSMGlobalDefaultLoadBalancePolicy [-Policy] <String> [<CommonParameters>]

DESCRIPTION

The Set-MSDSMGlobalDefaultLoadBalancePolicy cmdlet sets the default load balance policy for Microsoft Multipath I/O (MPIO) devices. Microsoft Device Specific Module (MSDSM) applies this policy only to devices that it claims after you set the policy.

Use the Get-MSDSMGlobalDefaultLoadBalancePolicy cmdlet to see the current default policy.

EXAMPLES

Example 1: Set round robin as default policy

PS C:\> Set-MSDSMGlobalLoadBalancePolicy -Policy RR

This command sets the default load balance policy to round robin.

Example 2: Clear default policy

PS C:\> Set-MSDSMGlobalLoadBalancePolicy -Policy None

This command clears any current configured default load balance policy.

PARAMETERS

-Policy

Specifies a default value for load balance policy. The acceptable values for this parameter are:

  • None. Clears any currently configured default load balance policy.
  • FOO. Fail Over Only.
  • RR. Round Robin.
  • LQD. Least Queue Depth.
  • LB. Least Blocks.
Type: String
Parameter Sets: (All)
Aliases: 
Accepted values: None, FOO, RR, LQD, LB

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

NOTES

Get-MSDSMGlobalDefaultLoadBalancePolicy

© 2017 Microsoft