Get-PveNodesLxcVncwebsocket
Opens a websocket for VNC traffic.
API: GET /nodes/{node}/lxc/{vmid}/vncwebsocket, Proxmox VE API viewer
Syntax
Section titled “Syntax”Get-PveNodesLxcVncwebsocket [-PveTicket <PveTicket>] -Node <string> -Port <int> -Vmid <int> -Vncticket <string> [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Node |
string |
Yes | The cluster node name. |
-Port |
int |
Yes | Port number returned by previous vncproxy call. |
-Vmid |
int |
Yes | The (unique) ID of the VM. |
-Vncticket |
string |
Yes | Ticket from previous call to vncproxy. |
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.