PSTeams is a PowerShell Module working on Windows / Linux and Mac. It allows sending notifications to Microsoft Teams via WebHook Notifications. It's pretty flexible and provides a bunch of options. Initially, it only supported one sort of Team Cards but since version 2.X.X it supports Adaptive Cards, Hero Cards, List Cards, and Thumbnail Cards. All those new cards have their own cmdlets and the old version of creating Teams Cards stays as-is for compatibility reasons.
MIT License
409
stars
41
forks
source link
Port inline images to Adaptive Cards, Hero Cards, Card Lists, Thumbnail Cards #29
While mentioned cards do support images from URL it would be nice to port a feature that is already available in old team cards to download an image from URL/file path and insert them directly into JSON.
Additionally, trim content of those attached fields in verbose so it doesn't display binary data in Verbose. Example:
While mentioned cards do support images from URL it would be nice to port a feature that is already available in old team cards to download an image from URL/file path and insert them directly into JSON.
Additionally, trim content of those attached fields in verbose so it doesn't display binary data in Verbose. Example:
https://github.com/EvotecIT/Mailozaurr/blob/0580da77941d7a68cb2696c35a6978ebb58cb987/Private/Send-GraphMailMessage.ps1#L111-L133