EWS

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

Posted on

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. $SearchFilter = [Microsoft.Exchange.WebServices.Data.SearchFilter+IsEqualTo]::new([Microsoft.Exchange.WebServices.Data.EmailMessageSchema]::Importance, “High”) and the below is the view to get the number of email we need from the inbox – […]