Automation

 View Only
  • 1.  Someone removed the custom attributes field

    Posted Dec 02, 2013 08:19 PM

    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. 



  • 2.  RE: Someone removed the custom attributes field
    Best Answer

    Posted Dec 02, 2013 08:47 PM

    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.

    As an extra, it will even generate the code to fetch the events :smileyhappy:



  • 3.  RE: Someone removed the custom attributes field

    Posted Dec 03, 2013 12:46 AM

    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.