Syntax
Get-PassthroughDevice [-VM <VirtualMachine[]>] [-VMHost <VMHost[]>] [-Template <Template[]>] [[-Type] <PassthroughDeviceType>] [[-Name] <String[]>] [-Id <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
Retrieves the pass-through devices available on the specified hosts, virtual machines, and templates.Parameters
| Name | Type | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|---|
| Name | String[] | Specify the names of the pass-through devices you want to retrieve. | false | false | |
| Type | PassthroughDeviceType | Specify the type of the pass-through devices you want to retrieve. the valid values are SCSI and PCI. PCI is supported only on vCenter Server 4.0 and ESX 4.0 and higher. | false | false | |
| Id | String[] | Specify the Ids of the pass-through devices you want to retrieve. | false | false | |
| Server | VIServer[] | Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | false | |
| Template | Template[] | Specify the virtual machine templates for which you want to retrieve the pass-through devices. | false | true (ByValue) | |
| VM | VirtualMachine[] | Specify the virtual machines for which you want to retrieve the pass-through devices. | false | true (ByValue) | |
| VMHost | VMHost[] | Specify the hosts for which you want to retrieve the pass-through devices. | false | true (ByValue) |
Return Type
PassthroughDeviceNotes
Examples
-------------- Example 1 --------------
Get-PassthroughDevice -VMHost Host -Type Scsi
Retrieves the SCSI passthrough devices of the Host host.