Hetfield84
Enthusiast
Enthusiast

Find who created VM

Jump to solution

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

No, there isn't


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

View solution in original post

0 Kudos
7 Replies
LucD
Leadership
Leadership

No, there isn't


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

0 Kudos
Hetfield84
Enthusiast
Enthusiast

Bugger, thanks anyway!

0 Kudos
LucD
Leadership
Leadership

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

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

Thank you for linking to this!!

0 Kudos
VillainousWolf
Contributor
Contributor

You're Welcome

0 Kudos
virtume
VMware Employee
VMware Employee

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

0 Kudos