VM Creation Historical Report
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikZH0gR9OKyZYfCv3LH116POWiYGhwLO2r6VkXPDjBpL7y9QZgGIVpdURhSW3NPZSaloyv8OaLMmYxwGYsaAM1FbfSC-qxwBWq6DG-j71a1TvsK6QQaCG9szm1GwjPPuSSV4-ifLK1pr1U/s640/VM+Creation+History+Report+-+Google+Chrome_2013-05-30_16-29-29.png)
I needed something that I could look back upon to determine who created what VM in vCenter and from what template. This works when dealing w/ just vCenter and not vCloud Director. It's painfully slow, but it works as a stopgap until I figure out how to query the same information from SQL instead. Here is an screenshot example of what the PowerCLI script outputs: Although, I can probably gather a longer historical view through CSV's than vCenter's SQL if those events/tasks are cleaned up after a period of time. It's meant to be run on a daily basis. Script found after the break: