AnsweredAssumed Answered

Calendar and Notifications passed to Powershell Script

Question asked by ScottSilvester606020 on Oct 29, 2014
Latest reply on Oct 29, 2014 by Pete Wirfs
Hi Everyone,

Long time reader, first time caller. :-)
We are on AE 8 (we're upgrading to 10 soon, so don't fret), and I have a question around notifications and Powershell scripts.

Basically, I have a Powershell script that is executed from a job, and we pass parameters to it, e.g. email address, mail subject, etc.  These parameters are taken from a variable that we manually update. So if someone goes on leave, we will manually change the email address so that the new person receives the email.
On a separate note, we also have an OnCall calendar and notifications setup, and notifications are sent to the person that is OnCall in the calendar. We use this for many notifications, but only scripted using UC4.

What I'd like to do is combine these two, so that I can pass an email address to the Powershell script based on whoever's on call in the OnCall calendar. 
Is this possible?