mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-11 09:40:07 -04:00
8 lines
170 B
PowerShell
8 lines
170 B
PowerShell
Param(
|
|
[Parameter(Mandatory=$true)]
|
|
[string]$VmId,
|
|
[string]$SnapName
|
|
)
|
|
|
|
$VM = Get-VM -Id $VmId -ErrorAction "Stop"
|
|
Checkpoint-VM $VM -SnapshotName $SnapName
|