Can someone please tell me how can I get the No of VMs created in month ?
I need to make a trend line for past 1 year and I want the list for of VMs that were created every month.
Thanks
Alan made a post, called PowerCLI – Where do I start ?!, that list several sources of information for the beginner. The document from Xtravirt is a good one to start with.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I don't normally plug my employers solutions on the forum but Veeam Reporter 4.0 will give waht you need and more.
The issue with doing what you ask in a scripts is "historical data" - Veeam Rep4 logs historical data"
Ricky El-Qasem
VCI/VCP - MCSE - RHCT
You can use the method Carter described in his Find out how many VMs you’re creating a month with this simple script. post.
It's based on Alan's custom attribute method.
An alternative is to use the events and filter out the tasks that created a VM.
See my Events: a great source of information – Part 1 post.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I dont know much about powershell. Can you please tell me how am I suppose to run that script ?
thanks
Alan made a post, called PowerCLI – Where do I start ?!, that list several sources of information for the beginner. The document from Xtravirt is a good one to start with.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
The script mentioned in this link http://blogs.vmware.com/vipowershell/2010/03/find-out-how-many-vms-youre-creating-a-month-with-this-... is not complete. Which cmd-let should I use to connect to the VC server ?
Thanks
That is a problem that you will see with several blog posts (mine included).
We leave out the
Connect-VIServer -Server <your-vCenter-or-ESX(i)-server>
statement.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference