Microsoft Teams Scripts
Usage with Triggers
You can use the Send-PSUTeamsNotification
function to send a message to a Microsoft Teams channel. It automatically processes trigger data to send formatted messages.
New-PSUTrigger -TriggerScript 'Teams.Scripts\Send-PSUTeamsNotification' -EventType JobFailed
Installation Options
Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet. More info
PS > Install-PSResource Teams.Scripts
Install within the PowerShell Universal v5 admin console. More Info
Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies.
Download the raw nupkg file