I'm in need of a powercli script to get the ESXi host model, CPU, Memory, CPU model. I've about 300 VMs in my list and those are in different vCenters.
Would like to input them in a file and then script should be able to provide the above asked information.
Script should be able to check, currently on which ESXi host each VM residing on and get the ESXi host list and its required information (in a tabular format) like below:
VM name, ESXi host name, Host Model, CPU, Memory, ESXi host CPU model
can some one help here please. TIA