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

Re: Getting Host Hardware Information through PowerCLI

$
0
0

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!


Viewing all articles
Browse latest Browse all 232869

Trending Articles



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