VeeamTeamsNotifications has been replaced by VeeamNotify.
This repository is now archived.
Sends notifications from Veeam Backup & Restore to Teams
Make a scripts directory: C:\VeeamScripts
# To make the directory run the following command in PowerShell
New-Item C:\VeeamScripts PowerShell -type directoryThen clone this repository:
cd C:\VeeamScripts
git clone https://github.com/tigattack/VeeamTeamsNotifications.git
cd VeeamTeamsNotificationsOr without git:
Download release, there may be later releases take a look and replace the version number with newer release numbers.
Unzip the archive and make sure the folder is called: VeeamTeamsNotifications
Invoke-WebRequest -Uri https://github.com/tigattack/VeeamTeamsNotifications/archive/v1.1.zip -OutFile C:\VeeamScripts\VeeamTeamsNotifications-v1.1.zipExpand-Archive C:\VeeamScripts\VeeamTeamsNotifications-v1.1.zip -DestinationPath C:\VeeamScripts
Ren C:\VeeamScripts\VeeamTeamsNotifications-1.1 C:\VeeamScripts\VeeamTeamsNotifications
rm C:\VeeamScripts\VeeamTeamsNotifications-v1.1.zipMake a new config file
cp C:\VeeamScripts\VeeamTeamsNotifications\config\vsn.example.json C:\VeeamScripts\VeeamTeamsNotifications\config\vsn.jsonEdit your config file. You must replace the webhook field with your own Teams url.
notepad.exe C:\VeeamScripts\VeeamTeamsNotifications\config\vsn.jsonFinally open Veeam and configure your jobs. Edit them and click on the 
 button.
Navigate to the "Scripts" tab and paste the following line the script that runs after the job is completed:
Powershell.exe -File C:\VeeamScripts\VeeamTeamsNotifications\TeamsNotificationBootstrap.ps1
