fix hyperv node-vm-status mode
This commit is contained in:
parent
7b6b9688d4
commit
0b039ee283
|
@ -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 "]"
|
||||
|
|
Loading…
Reference in New Issue