Forum Discussion
PS script to scrape mailbox metadata?
Try this one.'
https://sysadminben.wordpress.com/2015/10/27/reading-emails-from-office365-account-using-powershell/
- MikeDigHipSep 14, 2020Copper Contributor
farismalaeb Thank you for looking into this for me.
I've tried out the script but unfortunately there are many errors and reading the blog comments it seems like the script has not been updated in quite some time and the creator feels as though it won't work with the current backend anymore...
I do see that this person has updated the original script a bit to move emails around - https://geekdudes.wordpress.com/2019/04/23/powershell-extract-email-body-stored-in-custom-folder-using-ews-office-365/
When I run this I do not get any errors, but it does not do what I'm looking for it to do.... Instead of moving emails around, I want it to populate a CSV with email metadata from a specific folder.