Skip to content

New-PveGuestSnapshot

Create snapshot VM/CT.

Explained with examples in this guide.

Aliases: New-PveVmSnapshot

New-PveGuestSnapshot
[-PveTicket <PveTicket>]
-VmIdOrName <string>
[-Description <string>]
-Snapname <string>
[-Vmstate]
[<CommonParameters>]
Parameter Type Required Pipeline Description
-PveTicket PveTicket No By value, 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-…).
-Description string No By value, by property name A textual description or comment.
-Snapname string Yes By value, by property name The name of the snapshot.
-Vmstate switch No By value, by property name Save the vmstate (VM only, ignored for containers).

PveResponse. Return response, one per VM/CT.