Is there a way to send a files from PowerShell to a Teamchannel?
The following conditions have to be given:
Sending it via PowerShell Script
- The file that arrives at the Teamschannel always has to have the same name (I will update the content of the file and send it regularly to the Teamschannel) -> overwriting existing file (this excludes a possible solution via mail)
The file always has to get saved at the same position in Sharepoint (this also excludes a possible solution via mail aswell)
(What I am actually trying to do:
I am creating an csv export on a server. This Export is needed for a PowerBI report which is why the name and saving path has to stay the same the entire time AND
has to be at a path that PowerBI has access to. This would be Sharepoint in my case since files shared in Teams are getting saved there.)