+ fix powershell hyperv

This commit is contained in:
garnier-quentin 2017-02-08 19:06:27 +01:00
parent 15f93136e3
commit d3d98bc03a
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ Try {
Foreach ($vm in $vms) {
$i = 0
Foreach ($service in $services) {
if ($services.VMName -eq $vm.VMName) {
if ($service.VMName -eq $vm.VMName) {
if ($i -eq 0) {
Write-Host "[name=" $vm.VMName "][state=" $vm.State "]"
}