Automation

 View Only
  • 1.  Extract alarm from VCenter via PowerCLI

    Posted Mar 25, 2014 07:18 AM

    Good day!

    I have a script that collects alarms from VCenter and notify me by email. He collects the alarm from VM,hosts, datacenters with clusters etc. But I got the alarm at the VCenter. I can not find how to extract it using PowerCLI. Prompt, who faced with this problem.



  • 2.  RE: Extract alarm from VCenter via PowerCLI
    Best Answer

    Posted Mar 25, 2014 07:49 AM

    The alarms at the vCenter level can normally be retrieved via the hidden Datacenters folder.

    Use the entity returned by 'Get-Folder -Name Datacenters'



  • 3.  RE: Extract alarm from VCenter via PowerCLI

    Posted Mar 25, 2014 07:57 AM

    Yes, this is exactly what you need. Thank you!