Hello all,
First too all of the scripters who I have borrowed code from on here, thank you!
Now, I've been able to get all of the information I want out of vCenter but I am having issues with two of the scripts I wrote. This one is in regards to getting information on the virtual disks associated with all of the vms in the environment.
I have been able to export the data, but I get One line per VM which does not work for how we want to use the data.
What I am looking to get is a csv export with one line per VM that looks like:
vm number 1 name, harddisk number 1 name, hd number 1 datastore, hd number 1 vmdk path, hd number 1 capactity, hd number 1 controller, harddisk number 2 name, .... up to 7
vm number 2 name, ....
Thanks!
Alec