Get High Priority Email Message as a Phone Call using EWS API and PowerShell


A colleague shared a blog post and asked me a script to get high priority email using PowerShell? Well, it’s the same way  by modifying the search filter as required as shown below.

and the below is the view to get the number of email we need from the inbox – In our case just one!

Hey, I need a phone call for a high priority email and it should read the message! That’s a Friday fever! For any IT Professional major incidents are not new 🙂 check the below email body 🙂 let’s get a call for the same !

Email Body



Here is the sample code !

Enjoy PowerShell!