diff --git a/centreon/common/powershell/hyperv/2012/nodevmstatus.pm b/centreon/common/powershell/hyperv/2012/nodevmstatus.pm index 478c46fa3..4a4a792db 100644 --- a/centreon/common/powershell/hyperv/2012/nodevmstatus.pm +++ b/centreon/common/powershell/hyperv/2012/nodevmstatus.pm @@ -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 "]"