I’m sure that my PowerShell could be much improved, but this will query vCenter for active alarms and push them to a Microsoft Teams channel via an incoming webhook.
Each card contains a button to launch the vSphere Client along with one section per alarm. The section contains some facts of the alarm and the object involved along with another button that launches the object’s summary page in the vSphere Client.
I set it up on a utility server as a scheduled task that runs every 10 minutes. This gives me details while on the go via the Microsoft Teams app and handy shortcuts if on-site or otherwise connected.
Code at [https://gist.github.com/TScalzott/30f422e010a974d86397e695223edc28](https://gist.github.com/TScalzott/30f422e010a974d86397e695223edc28)
Let me know what you think!
Added sample image to the gist, viewable directly at https://user-images.githubusercontent.com/10374853/64088255-1e2e8400-cd30-11e9-8a92-3858eee20eab.png
To see the full content, share this page by clicking one of the buttons below