Syntax
Get-VMHostPciDevice [-Name <String[]>] [-VMHost <VMHost[]>] [-DeviceClass <PciDeviceClass[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the PCI devices on the specified hosts.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
DeviceClass | PciDeviceClass[] | Limits results to devices of the specified classes. | false | false | |
Name | String[] | Filters the PCI devices by name.
Note: This parameter is not case-sensitive. | false | false | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | false | |
VMHost | VMHost[] | Specifies the hosts whose PCI devices you want to retrieve. If not specified, the cmdlet retrieves PCI devices for all hosts on all default connections. | false | true (ByValue) |
Return Type
Zero or more VMHostPciDevice objectsNotes
Examples
-------------- Example 1 --------------
Get-VMHost "MyHost" | Get-VMHostPciDevice
Retrieves the PCI devices on the "MyVMHost" host.