Home
General
Virtualization
Virtual Machine Creation Date / PowerCLI
jibbajabba
Anyone know a nice script how to find out when a machine was created (vSphere 4.x) ?
I have seen a few scripts ("who created the VM" etc.) but they are doing "too much"... for instance, I don't need the creation date and name in the notes field (in fact, must not) and I cannot give a time frame or the last x amount of days / VMs.
I'd need to be able to give a vcenter and guest name and it should return the creation date.
Anyone know if something like this is out there ?
Find more posts tagged with
Comments
QHalo
I'll see what I can come up with when I get home tonight unless you figure it out before then. Don't have access to my lab from here. If it can't be done from PowerCLI, you should be able to get it from a SQL query of the vCenter DB.
Edit - did you try this stuff from Luc D and Alan Renouf?
http://communities.vmware.com/thread/148655
blargoe
If it was recent enough it would be in the VCDB in the task history... 180 days is it? I did something similar to get snapshot creator user name. If I can find it I'll post the query.
Is creation date a VM property that can be exposed in powercli?
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of