We have a terminal server that we have multiple dashboards (TVs on the wall) logged into. For our Veeam dashboard I have the following .bat file on the Veeam ONE server that is triggered by the alarm, it uses psexec to execute another .bat file on the remote system (the dashboard terminal server) that plays a sound:
- Code: Select all
C:\VeeamAlert\PsExec.exe \\terminalserver -u domain\username -p userpassword -i 2 -d C:\VeeamAlert\PlaySound.bat
-i specifies the RDP session ID of the Veeam dashboard, unfortunately I couldn't be bothered scripting something to get this automatically as the session is logged in 24/7 and I'd just change it manually if the session was ever logged off and needed to be logged in again.
The PlaySound.bat calls a tool I'd found online to play .wav files from a command line and is located on the remote server.
Hope this helps.