Hello,
What I am basically trying to do is create a CSV report of all VMs within the datacentre with various information (VMname, FQDN, IPaddress, Tools status, Datastores, etc...). The export function of list in the client is inadequate (especially for any KPI report).
Problem: (Workflow is still in the works so actual email send not working and need to clean up code)
I am stuck at the part of creating an array which can be parsed into the CSV correctly. The 2 ways I have tried will produce a single object report or combine the entire array into a single string (where I am now). I believe the main problem I have is I need to create a 2D array within my function to push to the final array that is written to CSV. I basically do not understand how to push my variables while in a loop of an array.
Any help or assistance?
Thanks
B