Edit

Share via


Disable-MSDSMAutomaticClaim

Stops MSDSM from automatically claiming SAN disks for MPIO for a bus type.

Syntax

Default (Default)

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

Description

The Disable-MSDSMAutomaticClaim cmdlet stops a Microsoft Device Specific Module (MSDSM) from automatically claiming storage area network (SAN) disks for Microsoft Multipath I/O (MPIO) for a specified bus type.

The valid bus types are serial attached storage (SAS) and Internet Small Computer System Interface (iSCSI). This cmdlet does not change previously claimed SAN disks.

Examples

Example 1: Disable automatic claim for iSCSI

PS C:\> Disable-MSDSMAutomaticClaim -BusType "iSCSI"

This command stops MSDSM from automatically claiming SAN disks for MPIO for iSCSI bus types. The command does not affect previously claimed disks.

The command does not affect the settings for an SAS bus type. If you want to disable automatic claims for both bus types, use the cmdlet again and specify SAS.

Parameters

-BusType

Specifies a bus type. This cmdlet disables automatic claiming of 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.