Find all ver and build hosts

[powershell]
Get-View -ViewType HostSystem | Select Name, @{N="Version";E={$_.Summary.Config.Product.FullName}}
[/powershell]

Where { $_.Version -match “ESXi”}

add for only esx