New-PveGuestSnapshot
Create snapshot VM/CT.
Explained with examples in this guide.
Aliases: New-PveVmSnapshot
Syntax
Section titled “Syntax”New-PveGuestSnapshot [-PveTicket <PveTicket>] -VmIdOrName <string> [-Description <string>] -Snapname <string> [-Vmstate] [<CommonParameters>]Parameters
Section titled “Parameters”| 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). |
Output
Section titled “Output”PveResponse. Return response, one per VM/CT.