Get-MSDSMGlobalDefaultLoadBalancePolicy

Get-MSDSMGlobalDefaultLoadBalancePolicy

Gets the default load balance policy for MPIO devices.

Syntax

Get-MSDSMGlobalDefaultLoadBalancePolicy [ <CommonParameters>]

Detailed Description

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

The cmdlet returns a string that contains one of these values:

-- None. No currently configured default load balance policy.
-- FOO. Fail Over Only.
-- RR. Round Robin.
-- LQD. Least Queue Depth.
-- LB. Least Blocks.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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.

  • System.String

Examples

Example 1: Get load balance policy

This command gets the global default load balance policy, in this case, RR for round robin.

PS C:\> Get-MSDSMGlobalDefaultLoadBalancePolicy 

Set-MSDSMGlobalDefaultLoadBalancePolicy