< Back

Get-VMHostPciDevice

Sun Jan 19, 2020 6:55 pm

NAME Get-VMHostPciDevice



SYNOPSIS

This cmdlet retrieves the PCI devices on the specified hosts.





SYNTAX

Get-VMHostPciDevice [-DeviceClass <PciDeviceClass[]>] [-Name <String[]>] [-Server <VIServer[]>] [-VMHost

<VMHost[]>] [<CommonParameters>]





DESCRIPTION

This cmdlet retrieves the PCI devices on the specified hosts.





PARAMETERS

-DeviceClass <PciDeviceClass[]>

Limits results to devices of the specified classes.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String[]>

Filters the PCI devices by name.



Note: This parameter is not case-sensitive.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? 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.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more VMHostPciDevice objects







NOTES









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



Get-VMHost "MyHost" | Get-VMHostPciDevice



Retrieves the PCI devices on the "MyVMHost" host.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... evice.html