Restart-PveGuest
Reboot VM/CT cleanly, through the guest operating system. For a hard reset of a VM use Reset-PveGuest.
Explained with examples in this guide.
Syntax
Section titled “Syntax”Restart-PveGuest [-PveTicket <PveTicket>] -VmIdOrName <string> [-Timeout <int>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Pipeline | Description |
|---|---|---|---|---|
-PveTicket |
PveTicket |
No | By property name | Ticket data connection. |
-VmIdOrName |
string |
Yes | By value, by property name | VM/CT, the selection of Get-PveGuest (id, name, range, @node-, @pool-, @tag-…). |
-Timeout |
int |
No | By property name | Seconds to wait for the shutdown before the guest is started again. |
Output
Section titled “Output”PveResponse. Return response, one per VM/CT.