Syntax
Get-VMHostPciDevice [-DeviceClass <PciDeviceClass[]>] [-Name <String[]>] [-Server <VIServer[]>] [-VMHost <VMHost[]>] [<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.