Returning the product information about the ESX host with a simple command
Get-VMHost | % { (Get-View $_.ID).Config.Product }