Enable-MSDSMAutomaticClaim

Enable-MSDSMAutomaticClaim

Enables MSDSM to automatically claim SAN disks for MPIO.

Syntax

Parameter Set: __AllParameterSets
Enable-MSDSMAutomaticClaim [-BusType] <String> [ <CommonParameters>]

Detailed Description

The Enable-MSDSMAutomaticClaim cmdlet enables an Microsoft Device Specific Module (MSDSM) to automatically claim storage area network (SAN) disks for Microsoft Multipath I/O (MPIO) for a bus type.

You need to specify a valid bus type, either serial attached storage (SAS) and Internet Small Computer System Interface (iSCSI). You can enable MSDSM to automatically claim both SAS and iSCSI disks. Run the cmdlet twice, once for SAS, once for iSCSI.

Parameters

-BusType<String>

Specifies a bus type. The cmdlet enables MSDSM to automatically SAN disks for this bus type. The acceptable values for this parameter are: SAS and iSCSI.

Aliases

none

Required?

true

Position?

1

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

Examples

Example 1: Enable automatic claims for iSCSI

This command enables MSDSM to automatically claim resources with an iSCSI bus type. Specify SAS instead of iSCSI to enable for an SAS bus type.

PS C:\> Enable-MSDSMAutomaticClaim -BusType iSCSI

Disable-MSDSMAutomaticClaim

Get-MSDSMAutomaticClaimSettings