VMware Cloud Community
Hetfield84
Enthusiast
Enthusiast
Jump to solution

Find who created VM

Hi,

Is there a better way to find out which user created a VM without using the VM events? We are running vCenter 6.7 and would like to gather this information regardless of guest OS. I'm hoping for something similar to the new ExtensionData.Config.createDate property.

Any help would be appreciated.

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

No, there isn't


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
7 Replies
LucD
Leadership
Leadership
Jump to solution

No, there isn't


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Hetfield84
Enthusiast
Enthusiast
Jump to solution

Bugger, thanks anyway!

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

A handy way, but that doesn't fix the issue for existing VMs, is to add a Custom Attribute or write that info in the Notes.
But ultimately you will have to look at an external VM Life Cycle management tool.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

VillainousWolf
Contributor
Contributor
Jump to solution

There no way, without logs, to find previous creators of a VM, but there is a way to set a script to place the creator of a newly created VM's into the attributes section of the VM itself along with when it was created. This will allow you to track the creator moving forward. I have a detailed tutorial on my site here as it is to much to place in this box:

https://villainouswolf.com/how-to-add-vm-creator-and-time-created-to-the-attributes-of-a-vm-in-a-vce...

It involves a script that runs in an alarm when a VM is created that does run on VCSA 6.7 tested. I even show you pictures of the steps used!

schroeder0
Contributor
Contributor
Jump to solution

Thank you for linking to this!!

Reply
0 Kudos
VillainousWolf
Contributor
Contributor
Jump to solution

You're Welcome

Reply
0 Kudos
virtume
VMware Employee
VMware Employee
Jump to solution

There isn't such an option available, Checking the logs, Tasks would help

Reply
0 Kudos