Robert van den Nieuwendijk wrote:
The following PowerCLI script retrieves the required information from all your hosts:
Get-VMHost |Select-Object-Property Name,Manufacturer,Model,ProcessorType, @{Name="NumCpuPackages";Expression={$_.ExtensionData.hardware.CpuInfo.NumCpuPackages}}, @{Name="NumCpuCores";Expression={$_.ExtensionData.hardware.CpuInfo.NumCpuCores}}, CpuTotalMhz,CpuUsageMhz,MemoryTotalGB,MemoryUsageGB,Version |Export-Csv-PathVMHostInfo.csv-NoTypeInformation-UseCulture
Thanks for the example script Robert. I'll be working with it tonight. Really appericiate it!