Skip to content

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.

Restart-PveGuest
[-PveTicket <PveTicket>]
-VmIdOrName <string>
[-Timeout <int>]
[<CommonParameters>]
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.

PveResponse. Return response, one per VM/CT.