VMware Cloud Community
RajuVCP
Hot Shot
Hot Shot

VM creation date

Hi All,

Searched a lot but could'nt find any option or tool to get the VM creation date in both my vcenter and in esx/esxi server.

I have to extract all the vm which are builded last year 2011, how can i get that information. Please suggest anyone worked and have idea on it.

on a helping side, in time of googling for this i came across a good tool which will give you entire information on vcenter/esx , its cpu,memory,network,vlan,port group,health status, suggestions on vms, each and every thing, and you can export it in excel sheet. Its really amazing tool

RVtool http://www.robware.net/

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
Reply
0 Kudos
2 Replies
Nikhil_Patwa
Expert
Expert

Hi Raju,

I use RVTools alot and it's an excellent tool to find information about your ESXi Hosts and VMs.

Try this VMware Community thread for more information that may be of your assitance

http://communities.vmware.com/thread/148655

Nikhil

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal

Using PowerCLI, there are a couple ways, first is below

http://www.virtu-al.net/2010/02/23/who-created-that-vm/

Second, is a bit easier, but it may work

Get-VIEvent -maxsamples 1000000 -Start (Get-Date).AddDays(-30) | where {$_.Gettype().Name-eq "VmCreatedEvent" -or $_.Gettype().Name-eq "VmBeingClonedEvent" -or $_.Gettype().Name-eq "VmBeingDeployedEvent"} |Sort CreatedTime -Descending |Select CreatedTime, UserName,FullformattedMessage |export-Csv "C:\scripts\createvm.csv" -NoTypeInformation

The second example is just 30 days, you may need to adjust your code.

Reply
0 Kudos