Edit

Share via


Enable-MSDSMAutomaticClaim

Enables MSDSM to automatically claim SAN disks for MPIO.

Syntax

Default (Default)

Enable-MSDSMAutomaticClaim
    [-BusType] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

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

You must 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 two times, one time for SAS, one time for iSCSI.

Examples

Example 1: Enable automatic claims for iSCSI

PS C:\> Enable-MSDSMAutomaticClaim -BusType "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.

Parameters

-BusType

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

Parameter properties

Type:String
Default value:None
Accepted values:SAS, iSCSI
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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