Use Telegram as notification service for Veeam Agent on Windows by powershell script
You need a bot token and chatid. Edit the script with your data
$Telegramtoken = "CHANGE_ME"
$Telegramchatid = "CHANGE_ME"
You can set a custom text for the message first line
$CustomString = "CUSTOMER: Example"
In the code you can set the max age of event registry entry for prevent duplicate notification, default 10 minute
($TimeDifference.TotalMinutes -gt 10)
Set a new scheduled activity like this:
And configure in this way:
- Program: Powershell.exe
- Argument: Script path (example C:\VeeamNotify.ps1)
Result: