Page 1 of 1

Play a few musical notes on desktop

Posted: Fri Jan 14, 2022 5:32 pm
by Cubert
Here is a script to play music using WMI beep tones on an active desktop agent under ConnectWise Automate control.

The script takes in a single command (MyTone), if provided it will play one of 4 pieces of music else will default to Close Encounters of the 3rd kind.

The MyTone Commands are:
  • HappyBirthday
  • MissionImpossible
  • ImperialMarch
  • CloseEncounters
Usage:
#1 Schedule the script once a year on the birthday of the know user with MyTone=HappyBirthday.
#2 Execute script on your own system when events happen in automate.
#3 Execute script on other tech or systems engineers when an event happens in automate.
#4 send a tone down to an end agent to denote a response in another script.

I am sure you can have some fun with it.

Cubert