Script:
The following script will report the name, version, server hardware and CPU model of all ESXi hosts in the vCenter.
get-vmhost | select Name, @{N='ESXi version';E={"$($_.Version) $($_.Build)"}}, @{N='ESXi Hardware';E={"$($_.ExtensionData.Hardware.SystemInfo.Vendor) $($_.ExtensionData.Hardware.SystemInfo.Model)"}}, @{N='ESXi CPU Type';E={$_.ProcessorType}}
You must be logged in to post a comment.