Home > Blogs > VMware PowerCLI Blog


Find out how many VMs you’re creating a month with this simple script.

If you haven’t seen it, Alan Renouf has made a great script called “Who created that VM?” that populates custom variables to tell you who created a VM and when they did it.

I was showing this to a user the other day and they noticed they could also use this to figure out how many VMs they’re creating a month and help track their growth rate that way. Sure enough, once you’ve run Alan’s script it’s really easy to get just such a report.

 

Here’s a sample of the script in action against my vCenter.

blog1

You can also export this stuff to a spreadsheet, just follow the sample code above.

3 thoughts on “Find out how many VMs you’re creating a month with this simple script.

  1. Alan Renouf

    Nice one Carter, didnt think of that one, cool stuff !

    Reply
  2. kadirur

    Any information to Link PowerCLI with REST calls?
    K

    Reply
  3. Sankar

    Can you please tell me step by step details on how to use this? I am new to using PowerCLI and finding it difficult to execute and achieve the results correctly. I followed Alan’s script, installed “Quest AD cmdlets” and it gives me an output in the “powercli” window itself, I need to extract this to a .csv file. Appreciate all your help.

    Reply

Leave a Reply

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

*