Sure, by using the info from KB1011712 you can even use a meaningful text instead of the number.
Something like this
$HVinfo="VT/AMD-V indicates that support is not available for this hardware.",
"VT/AMD-V indicates that VT or AMD-V might be available but it is not supported for this hardware.",
"VT/AMD-V indicates that VT or AMD-V is available but is currently not enabled in the BIOS.",
"VT/AMD-V indicates that VT or AMD-V is enabled in the BIOS and can be used."
Get-VMHost|SelectName,
@{N="HVSupport";E={
$esxcli=Get-EsxCli-VMHost$_
$index=$esxcli.hardware.cpu.global.get() |Select-ExpandPropertyHVSupport
$HVinfo[$index]
}} |
Export-CsvC:\HV-report.csv-NoTypeInformation-UseCulture
Note that this will only work for ESXi 5.* hosts this way.
With ESXi 4.* hosts you will have to do a Connect-VIServer to each one before doing the Get-EsxCli.