Skip to content

Get-PveNodesLxcConfig

Get container configuration.

API: GET /nodes/{node}/lxc/{vmid}/config, Proxmox VE API viewer

Aliases: Get-PveLxcConfig

Get-PveNodesLxcConfig
[-PveTicket <PveTicket>]
[-Current <bool>]
-Node <string>
[-Snapshot <string>]
-Vmid <int>
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Current bool No Get current values (instead of pending values).
-Node string Yes The cluster node name.
-Snapshot string No Fetch config values from given snapshot.
-Vmid int Yes The (unique) ID of the VM.

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.