Author Posts

October 19, 2015 at 1:13 pm

Hello,

Our organization is moving from Exchange 2007 to 2013 and in the processes we have a new policy where we can not retain any subfolders under the Inbox and instead must move all our folders to the Saved Emails folder.

Many of our users have 100's of subfolders and moving them manually will take hours if not days to complete.

Is there a way to do this using a PowerShell script?

I've googled for it but have found a possible solution though I am not sure if it is entirely possible to use it. https://code.msdn.microsoft.com/office/PowerShell-Merge-mailbox-e769c529#content

There is also a 3rd party add-in for Outlook 2010 that will allow me to select multiple folders, but I would like to avoid having to use it. http://pandali.com/pfm/help/index.html

I should also mention that I am completely new to PowerShell, but can do a good job of reading and editing code, so any help would be appreciated.

Thank you

October 19, 2015 at 10:57 pm

Without some 3rd party solution you'll only be able to achieve this either via Exchange Web Services (either for 2007 [pre-move] OR 2013 [post-move]). EWS is certainly not something I would recommend jumping into as a beginner in PowerShell.

The only other option then would be automating Outlook via the Outlook COM object.

There's plenty of information on either on the WWW however if you're under time constraints I think a third party solution would be the way to go in my opinion.