Sha256: 8482e622ff78bd440c9893a7ae82f04fb9de2d80975c52edf7fd5fa81c0a53a1

Contents?: true

Size: 186 Bytes

Versions: 7

Compression:

Stored size: 186 Bytes

Contents

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

$VM = Hyper-V\Get-VM -Id $VmId -ErrorAction "Stop"
Hyper-V\Checkpoint-VM $VM -SnapshotName $SnapName 

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-unbundled-2.1.1.0 plugins/providers/hyperv/scripts/create_snapshot.ps1
vagrant-unbundled-2.0.4.0 plugins/providers/hyperv/scripts/create_snapshot.ps1
vagrant-unbundled-2.0.3.0 plugins/providers/hyperv/scripts/create_snapshot.ps1
vagrant-aws-detiber-0.7.2.pre.4 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/providers/hyperv/scripts/create_snapshot.ps1
vagrant-aws-detiber-0.7.2.pre.3 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/providers/hyperv/scripts/create_snapshot.ps1
vagrant-aws-detiber-0.7.2.pre.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/plugins/providers/hyperv/scripts/create_snapshot.ps1
vagrant-unbundled-2.0.2.0 plugins/providers/hyperv/scripts/create_snapshot.ps1