Get-MPIOAvailableHW

Lists devices available to the system that can be managed by the MSDSM for MPIO.

Syntax

Get-MPIOAvailableHW
   [[-VendorId] <String[]>]
   [[-ProductId] <String[]>]
   [-BusType <BusType[]>]
   [-IsMultipathed <Boolean[]>]
   [-IsSPC3Supported <Boolean[]>]
   [-CimSession <CimSession[]>]
   [-ThrottleLimit <Int32>]
   [-AsJob]
   [<CommonParameters>]

Description

The Get-MPIOAvailableHW cmdlet lists available hardware devices in the system that can be managed by the Microsoft Device Specific Module (MSDSM) for Multipath I/O (MPIO).

To add one of the devices to MSDSM supported hardware list, use the vendor identifier (ID) and product ID of the device that are outputs from this cmdlet as inputs for the New-MSDSMSupportedHW cmdlet.

Examples

Example 1: Get connected multipath-capable devices

PS C:\> Get-MPIOAvailableHW

This example returns a list of multipath-capable devices currently connected to the system.

Example 2: Get connected multipath-capable devices for a bus type

PS C:\> Get-MPIOAvailableHW -BusType iSCSI

This example returns a list of multipath-capable devices currently connected to the system via iSCSI.

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. You can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get the job results, use the Receive-Job cmdlet. For more information about Windows PowerShell® background jobs, see about_Jobs.

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

-BusType

Specifies the bus type via which the device is connected to the system. The acceptable values for this parameter are: iSCSI, SAS, and FibreChannel.

Type:BusType[]
Accepted values:FibreChannel, iSCSI, SAS
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Type:CimSession[]
Aliases:Session
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsMultipathed

Specifies that the device is currently multipath enabled by Microsoft MPIO.

Type:Boolean[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-IsSPC3Supported

Specifies whether the supported specification of the device is T10 SPC3 or a later version.

Type:Boolean[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ProductId

Specifies the product ID of the device.

Type:String[]
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VendorId

Specifies the vendor ID of the device.

Type:String[]
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

None

Outputs

None