powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-PassthroughDevice



NAME
Get-PassthroughDevice

SYNOPSIS
Retrieves the pass-through devices available on the specified hosts, virtual machines, and templates.

SYNTAX
Get-PassthroughDevice [-VM ] [-VMHost ] [-Template ] [[-Type] eviceType>] [[-Name] ] [-Id ] [-Server ] []


DESCRIPTION
Retrieves the pass-through devices available on the specified hosts, virtual machines, and templates.


PARAMETERS
-VM
Specify the virtual machines for which you want to retrieve the pass-through devices.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-VMHost
Specify the hosts for which you want to retrieve the pass-through devices.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Template
Specify the virtual machine templates for which you want to retrieve the pass-through devices.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Type
Specify the type of the pass-through devices you want to retrieve. the valid values are SCSI and PCI. PCI is su
pported only on vCenter Server 4.0 and ESX 4.0 and higher.

Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Name
Specify the names of the pass-through devices you want to retrieve.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Id
Specify the Ids of the pass-through devices you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Server
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co
mmand runs on the default servers. For more information about default servers, see the description of Connect-V
IServer.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
PassthroughDevice


NOTES




-------------- Example 1 --------------

C:\PS>Get-PassthroughDevice -VMHost Host -Type Scsi


Retrieves the SCSI passthrough devices of the Host host.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-PassthroughDevice.html
Add-PassthroughDevice
Remove-PassthroughDevice