Gathering emails powershell by MAPI / EWS

This is strange, I get desired results, but I try only get info, not moving collected mails inbetween several FindItems() calls

I was Replacing

$view.Offset += $FindItems.Items.Count

by:

$view.Offset = $FindItems.NextPageOffset

and using lower Item view (max 100) he only return the first offset page, the issue i’ve found it’s that usually i’m being throttled by Exchange using a high number, while using lower as it’s normal it’s faster and smooth. I’ve tried found more documentation on technet (TechNet EWS Paging Searches) about the Paging or maybe related topic to move but there is no much details.

For searches all goes smoothly however for move there is this issue and i think indeed your assuptiom make sense since the while items are moving the Offset it’s changed…

About the operation, there are 2 mailboxes one have a quite lower volume so EWS Items size per view can be higher, however the other mailbox aprox have +400 and after some test i was getting connections errors from Exchange after certain amount of items.