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

Problems with the module #41

Closed GoebloJr closed 3 years ago

GoebloJr commented 3 years ago

The last Days everything was working fine but now if i try to run the script it throws the error that the command -MessageTitle is not found and that the remotserver returns with error 400 and i´ve triple checked if my url is correct. Maybe someone has a solution. Unbenannt

PrzemyslawKlys commented 3 years ago

Well maybe message title is not set? You're not giving enough information to help you. The error message is pretty clear. Maybe you have another module in conflict.

GoebloJr commented 3 years ago

Unbenannt Thats all i wrote in the script. it should only send little message for missed caller. I´m kinda new to the world of programming and scripting so be kind :D

PrzemyslawKlys commented 3 years ago

If I had to guess your problem is backtick next to -URI $teamsID`. Add a space between variable and backtick and problems will go away.