DZ1
Hot Shot
Hot Shot

Someone removed the custom attributes field

Is there any way that PowerCLI can pull an event if someone removed the custom attributes field in vCenter?  I'm specifically taking about the filed under Administration > Custom Attributes... in the vSphere 5.x client.  For some reason a field that we had to show VM assignments is missing, and I'm trying to find out what happened to it. 

Reply
0 Kudos
LucD
Leadership
Leadership

Sure is, use the CustomFieldRemovedEvent.

You can use the Get-VIEvent cmdlet or my Get-VIEventPlus to retrieve the events.

Btw use my Event-O-Matic to easily find event names.

eventomatic.png

As an extra, it will even generate the code to fetch the events Smiley Happy


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

View solution in original post

Reply
0 Kudos
DZ1
Hot Shot
Hot Shot

Once again, you strike again...thanks LucD, you always have the answers.  I actually created an event and then removed it to see what the message was, but I was searching for the wrong name.  I was able to find out what happened.  Many, many thanks. 

Reply
0 Kudos