Disable-MSDSMAutomaticClaim

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

Syntax

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.

Type:String
Accepted values:SAS, iSCSI
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False