Condividi tramite


Disable-MSDSMAutomaticClaim

Disable-MSDSMAutomaticClaim

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

Syntax

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

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

Parameters

-BusType<String>

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.

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: Disable automatic claim for 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.

PS C:\> Disable-MSDSMAutomaticClaimSettings -BusType iSCSI

Enable-MSDSMAutomaticClaim

Get-MSDSMAutomaticClaimSettings