This commit is contained in:
garnier-quentin 2019-09-09 17:37:48 +02:00
parent 55d0e9ad23
commit c808a75776
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ Try {
$ErrorActionPreference = "Stop"
$vms = Get-VM
if ($vms.Length -gt 0) {
$snapshots = $vms | Get-VMSnapshot
$snapshots = Get-VMSnapshot -VMName *
}
Foreach ($vm in $vms) {
$i=0
$note = $vm.Notes -replace "\r",""