Powershell module leveraging EWS managed api for working with mailboxes.
Invoke-Expression -Command (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/IvanFranjic/XEws/master/InstallXEwsModule.ps1")
Import session:
Import-XEwsSession -UserName "[email protected]" -Password "P@ssw0rd" -EwsUri "https://mail.domain.com/ews/exchange.asmx"
Start using it:
Get-XEwsFolder
Get-XEwsItem