VMware Cloud Community
DZ1
Hot Shot
Hot Shot
Jump to solution

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. 

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

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

0 Kudos
DZ1
Hot Shot
Hot Shot
Jump to solution

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. 

0 Kudos