VMware Cloud Community
surendra_suri
Contributor
Contributor

powercli command to get all hosts in Vcenter along with their respective version and build n hardwar

Hi Guys,

Can someone please help me with the below query ASAP

need powercli command or script to get all hosts in Vcenter along with their cluster name, esxi version and build number along with host hardware model and output should be export to .csv format .thank you

0 Kudos
2 Replies
scott28tt
VMware Employee
VMware Employee

1. I have reported your thread to notify moderators it needs moving - there is an area of VMTN dedicated to PowerCLI.

2. In the meantime, you should search that PowerCLI area to see if what you're looking for has been asked about previously.

https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/bd-p/2805

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
LucD
Leadership
Leadership

Using ASAP (in uppercase no less) in a community forum really ticks me off, to be honest.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference