title: PowerCli - cannot filter Virtual Machines by VMHost property
body: <p>I'm experimenting for the first time PowerCli on my VSphere environment.
  I'm trying the Get-Vm filtering the results in this way and it's working fine:</p>
  
  <p>Get-Vm | where MemoryGB -eq "8"</p>
  
  <p>but if I try the same syntax, filtering by VMHost property, I don't get any result:</p>
  
  <p>Get-Vm | where VMHost -eq "10.0.0.30"</p>
  
  <p>But I have a lot of machines on the host 10.0.0.30, why it's not working?
  I can see it if I use this syntax that filters the text output in the end:</p>
  
  <p>Get-Vm | select name,vmhost | findstr -i .30</p>
  
  <p>what I'm doing wrong?</p>
  
  <p>thanks</p>