Skip to content

Use Telegram as notification service for Veeam Agent on Windows by powershell script

License

Notifications You must be signed in to change notification settings

Leproide/VEEAM-Agent-Telegram-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VEEAM Agent Telegram notification with Powershell

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:

immagine

And configure in this way:

  1. Program: Powershell.exe
  2. Argument: Script path (example C:\VeeamNotify.ps1)

immagine

immagine

Result:

immagine

About

Use Telegram as notification service for Veeam Agent on Windows by powershell script

Resources

License

Stars

Watchers

Forks

Packages

No packages published