Skip to content

Get-PveNodesNetwork

List available networks

API: GET /nodes/{node}/network, Proxmox VE API viewer

Get-PveNodesNetwork
[-PveTicket <PveTicket>]
-Node <string>
[-Type <string>]
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Node string Yes The cluster node name.
-Type string No Only list specific interface types. Values: bridge, bond, eth, alias, vlan, fabric, OVSBridge, OVSBond, OVSPort, OVSIntPort, vnet, any_bridge, any_local_bridge, include_sdn.

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.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.