Is there a PowerShell cmdlet to export the contents of the public folder from Exchange 2007 into a PST on the network? I've got about 100 public folders that need archiving to different places on the network and would like to automate the process.
Also then need to be able to delete the public folder.
If not PowerShell, are there other utilities that can do the same from the command line?
Thanks, Rob.
Even five years on I couldn't find any examples of how to do this, so I used Glen Scales' excellent EWS & PowerShell blog posts to cobble this together. It's tweaked for Exchange 2013 SP1, but the functionality is pretty basic so it should work on earlier versions too.
Script to export old Public Folders to a share on the filesystem
I believe that without 3rd party tools, you'll need to use Outlook to export the public folders.
You can not use PowerShell to export a public folder to a PST:
You can do it by using:
use outlook : Import/Export wizard
use third party tools
You can also check TechNet discussion for more help.