fix hyperv node-vm-status mode

This commit is contained in:
qgarnier 2017-11-28 09:13:16 +01:00
parent 7b6b9688d4
commit 0b039ee283
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ Try {
$note = $vm.Notes -replace "\r",""
$note = $note -replace "\n"," - "
$isClustered = $vm.IsClustered
if ($node_is_clustered == 0) {
if ($node_is_clustered -eq 0) {
$isClustered = "nodeNotClustered"
}
Write-Host "[name=" $vm.VMName "][state=" $vm.State "][status=" $vm.Status "][IsClustered=" $isClustered "][note=" $note "]"