vCDAudit for vCloud Director

imageSometimes its hard to retrieve a report or data that you want to see in one place from a pre-built GUI, I often see this as a use case with PowerShell, being able to grab the data that you want to see and export it or report on it in a unified and simple way.  With the release of vCheck 6 and the easy to adapt HTML framework I have a very easy way to do just this, with a few simple changes to the plugins we can easily add any product into the reporting framework.

Currently this has been the case for vSphere and Exchange 2010.

A college of mine Tom Stephens who works for VMware Technical Marketing contacted me last week with a request which fits into the vCheck Framework quite nicely.  He was working with a customer who needed to be able to report on their vCD infrastructure, they had a need to be able to audit their vCD infrastructure and return certain data back in a centralized easy to read fashion.  He sent me a few headings of things the customer would like to see, after just a short period of time I was able to send him a working report with what the customer needed (and a little more I think).

This brings me on to what I call “vCDAudit”, unlike the vSphere health check script this is an audit script which retrieves and presents key vCD Data which is otherwise hard to find in a centralized place.

Example Page

An example of the vCDAudit report can be viewed by clicking here.


To download this version of vCheck you can download the following file which includes the base script and all VCDAudit plugins:

For more information on the base vCheck script and its framework including a demo of how to use it visit this page.


13 thoughts on “vCDAudit for vCloud Director

  1. reza

    Would it be possible to show a summary of available resources left in your PVDCs? It would be nice to automate this and fire it off to the higher ups.

  2. Pingback: vCloud Hybrid Service for vCloud Director Administrators | Tom Fojta's Blog

  3. Chris Soukup

    Based on looking through the API documentation and Jake’s functions I’m going to assume it’s at the very least non-trivial to do something similar in 1.0.X. We’ll just wait for the vCD upgrade to happen before reporting against that instance.

  4. Chris Soukup

    Great stuff! This is exactly the type of information I was looking to report.
    I did find one typo in “11 vApp Network list.ps1”: line 5
    CIVApp should instead be CIvApp.

    Also, I’m looking to run this against another vCD instance that is 1.0.X and was thinking of trying Jake’s vCloud Powershell function library. Any chance you have done something like that already?

    Thanks again!

  5. David Rousseau

    Very useful script.

    A request for enhancement 😉

    Under firewall section, it would be very useful to know the org. for instance:
    Firewall rules for Org for in vDC .

    Also External Network w/ allocated IPs would be great.

    Thanks for the good work.

  6. Alan Post author


    WOW, wish I was on that training 😉 Let me know if there is anything else you think may be useful.

  7. Alasdair Carnie

    Hi Alan,

    Thanks for that. I’m attending the vCD TTT in Germany this week and I’ve been creating some extra materials to help the students with the labs. Networking is the most complex part of it and it would be nice to be able to provide some end of lab reports that show what the config should look like when done correctly.

    Best Regards,


  8. Alan Post author

    Alasdair, Yes it is, I will add this for the next bunch of plugins I add. Thanks for the input.

  9. Alan Post author

    Nigel, its not finding the cmdlet Connect-CIServer, do you have PowerCLI 5.0.1 installed on the machine where you are running this and did yu select to install the vCD Cmdlets during the install (which is unselected by default).

  10. Nigel Haris

    Could you clarify the connection string required. Does it require the user to indicate http or https, port numbers, api URI, etc ? I’m pointing it to our VCD installation and cannot get connected. It looks to be failing due to the absence of the object. Does the plugin not provide that ?

    4:11:36 PM Connecting to CI Server
    The term ‘Connect-CIServer’ is not recognized as the name of a cmdlet, function
    , script file, or operable program. Check the spelling of the name, or if a pat
    h was included, verify that the path is correct and try again.
    At C:\vCDAudit\Plugins0 Connection Plugin for vCD.ps1:19 char:33

  11. Yohan

    Cool work.. i believe Clouds do have a long way to go.. and this is probably just the tip of the iceberg.. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.