ma question is that i would that the command powershell give me the esx with nothing alrm
$esx = Get-Datastore xxxxx | Get-VMHost -State Connected --> connected but with nothing (without) alarm
if($esx){
$rEsx = $esx | Get-Random
....
}
thanks for help