fix hyperv node-snapshot

This commit is contained in:
garnier-quentin 2019-09-09 17:36:03 +02:00
parent 2d917c2ca6
commit 55d0e9ad23

View File

@ -39,7 +39,7 @@ Try {
$ErrorActionPreference = "Stop"
$vms = Get-VM
if ($vms.Length -gt 0) {
$snapshots = Get-VMSnapshot -VMName *
$snapshots = $vms | Get-VMSnapshot
}
Foreach ($vm in $vms) {