EvotecIT / PSTeams

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

Question : How to send a file to Team's channel #36

Open AntonyNifosi opened 3 years ago

AntonyNifosi commented 3 years ago

Hi ,

I am using your PS Module which is relly usefull for what I'm doing but I was trying to send a file to a Team's channel using Powershell and your module. Tell me if I am wrong, but I didn't see anything explaning how I could acheive this and if it's possible. I saw I could use the function Send-MailMessage but I don't really like the way I have to work with it, so if I can do it whith your module I would be really happy !

Thank you in advance

Antony

PrzemyslawKlys commented 3 years ago

I don't think there's any way to send a file to Teams using the way we use. Your only way is to use "links" to files and let people download them.

You can see people requesting it:

kamarajPasupathi commented 2 years ago

Hi Rebecca,

I want to attach or upload the file to my adaptive card. Can you guide me through the examples or links which you are having now ?

Regards, Kamaraj.P

PrzemyslawKlys commented 2 years ago

I have no clue who is Rebecca but this is not possible at the moment.

ibrahimhalici commented 2 years ago

hey there! are there any updates about uploading files with adaptive cards?

PrzemyslawKlys commented 2 years ago

Don't think so. Haven't seen any action on that end.