File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,19 @@ function Get-VMFootprint ($VM){
15
15
Return [math ]::round($total_size / 1 GB , 2 )
16
16
}
17
17
18
- $couter = 0
18
+ $counter = 0
19
19
$vm_counter = 0
20
20
$total = 0
21
21
22
22
foreach ($VMHost in $ALL_HSD_VM_NODES ){
23
23
$counter += 1
24
24
foreach ($VM in (get-vm - computername $VMHost )){
25
25
$vm_counter += 1
26
- Write-Progress - Status " Get Footprint of $ ( $VM.Name ) " - Activity " Retrieve information from $ ( $VmHost ) " - PercentComplete $ ($couter / $NumNodes * 100 )
26
+ Write-Progress - Status " Get Footprint of $ ( $VM.Name ) " - Activity " Retrieve information from $ ( $VmHost ) " - PercentComplete $ ($counter / $NumNodes * 100 )
27
27
$VmSize = $ (Get-VMFootprint ($VM ))
28
28
Write-Verbose " $ ( $VM.Name ) - $VmSize GB"
29
29
$total += $VmSize
30
30
}
31
31
}
32
32
33
- Write-Output " $vm_counter VMs Footprint: $total GB "
33
+ Write-Output " $vm_counter VMs Footprint: $total GB "
You can’t perform that action at this time.
0 commit comments