Sha256: 9442c18af6c0becb985d5ff88bbd9eafd36cfadfcedee53f2bbb997b84da2a60

Contents?: true

Size: 182 Bytes

Versions: 23

Compression:

Stored size: 182 Bytes

Contents

Param(
    [Parameter(Mandatory=$true)]
    [string]$VmId,
    [string]$SnapName
)

$VM = Get-VM -Id $VmId -ErrorAction "Stop"
Restore-VMSnapshot $VM -Name $SnapName -Confirm:$false

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
vagrant-unbundled-1.8.4.1 plugins/providers/hyperv/scripts/restore_snapshot.ps1
vagrant-multiprovider-snap-0.0.14 lib/vagrant-multiprovider-snap/providers/hyperv/driver/scripts/rollback_vm.ps1
vagrant-multiprovider-snap-0.0.13 lib/vagrant-multiprovider-snap/providers/hyperv/driver/scripts/rollback_vm.ps1