Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: Getting Host Hardware Information through PowerCLI

$
0
0

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

Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>