Hello there,
I have a list of information I would like to get from some of our hosts. I've tried pulling this through PowerGUI and the VMWare PowerPacks but I'm having an issue with the fact that it will only pull down the hardware information for one of the hosts (even though I have 40 hosts connected under the managed hosts tab).
I obviously have a lot to learn in PowerCLI but I was hoping that someone could provide some direction on this.
I have a list of hosts that I have to connect with a pre-defined account and I'd like to pull down the following information into a CSV or some sort of report:
Hostname
Manufacturer / Model
Processor Type
Number of CPU / Cores
Speed of CPU
CPU Used
Total Memory
Memory Used
ESXi Version
All of the above information is avalible in PowerGUI but as I said I can only pull it for one host at a time for some reason.
If possible I'd love to be able to get a list of running VMs on each host at the same time.
I'd love some guidance on this or maybe if anyone has a bit more experience with PowerGUI and could let me know why it will only fill in the information for whatever my top listed host is.
I've found a few examples I think I could mash together but I con't figure out how to define a specific username/password and have it pull a list of hosts rather than one at a time.
It'd be awesome if someone had a similar script built and would let me take a look at it.
Thanks for any help you can lend. I really appericiate this commnunity. =)