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

Re: How can I export a list of physical hardware for hosts?

$
0
0

Hi,

 

If you have PowerCLI installed you can achieve this by executing;

 

Connect-VIServer "vcenter.tld.com"

Get-VMHost | Select Name,Manufacturer,Model,NumCpu,CpuTotalMhz,ProcessorType,MemoryTotalGB | Export-CSV "C:\_admin\vmhosts.csv" -NoTypeInformation

 

If you wanted all of the properties of the hosts you can just use:

Get-VMHost | Export-CSV "C:\_admin\vmhosts.csv" -NoTypeInformation

 

Hope this helps, please mark this as helpful if this resolves your issue,

 

Kind regards,

Adrian


Viewing all articles
Browse latest Browse all 230663

Trending Articles