Powershell module leveraging EWS managed api. Allows accessing to mailboxes using EWS calls.
Invoke-Expression -Command (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/IvanFranjic/XEws/master/InstallXEwsModule.ps1")
Import session:
Import-EwsSession -EmailAddress "[email protected]" -Password (ConvertTo-SecureString -AsPlainText -Force -String "pass") -EwsEndpoint "https://mail.domain.com/ews/exchange.asmx"
Start using it:
Get-EwsFolder
Get-EwsItem