Get ESXi Version and CPU Model via PowerCLI

January 10, 2018 Jordansphere VMware

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}}

 

Output:

script_ouput1

Powered by WordPress. Designed by elogi.