Get-PveNodesHardwarePci
List local PCI devices.
API: GET /nodes/{node}/hardware/pci, Proxmox VE API viewer
Syntax
Section titled “Syntax”Get-PveNodesHardwarePci [-PveTicket <PveTicket>] -Node <string> [-PciClassBlacklist <string>] [-Verbose_ <bool>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Node |
string |
Yes | The cluster node name. |
-PciClassBlacklist |
string |
No | A list of blacklisted PCI classes, which will not be returned. Following are filtered by default: Memory Controller (05), Bridge (06) and Processor (0b). |
-Verbose_ |
bool |
No | If disabled, does only print the PCI IDs. Otherwise, additional information like vendor and device will be returned. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.