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
![PowerShell Universal Library](https://docs.powershelluniversal.com/~gitbook/image?url=https%3A%2F%2F1373299915-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8F6PrkNTG8Y34hADzKOL%252Fuploads%252FP0tvQofIJk47KA4CYuGB%252Fimage.png%3Falt%3Dmedia%26token%3D116a8bb8-43d1-43e6-a7db-6e03437abfd1&width=768&dpr=1&quality=100&sign=dc7fce58&sv=1)
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