Thursday, 16 July 2015

Getting UM Voicemail Greetings in Exchange 2013

Back in 2012 I posted a script to audit Exchange UM greetings.  The script worked nicely for Exchange 2010 but, because of some cmdlet changes, it no longer works in Exchange 2013.  I still needed to be able to audit UM greetings, but had to come up with a new method to do it.

To solve the problem I found a way to use the Exchange Web Services Managed API to return the information I needed from the mailbox.

I wrote a new script which used the EWS API to look inside the mailbox and search for the special hidden messages which contain the UM greetings.  As an added bonus, the new script can also download the greeting audio and save it to disk.