Infrastructure as Code


Simple VM reporting in vCloud with PowerCLI

21 Mar 2013

Because of the unique requirement of VMs to exist inside vApps in vCloud Director, it's a challenge to get a nice view of all the VMs and their locations within your vCloud Organization. This can mostly be satisfied with a Get-CIVM command, which will return great info about your VMs, but it's missing the storage assignment. Here's a sweet little script to report specifically on the VM resources in use inside your vCloud Organization:

You can easily export to a CSV by using Export-CSV or just run the report to get output that looks something like this: VMreport
comments powered by Disqus