How do you archive a mailbox (not export) via Exchange 2010?

Hi guys

I'm trying to archive a mailbox (not export) from Exchange 2010 itself instead of someone's Outlook. I was looking into doing it by date too, so everything from 1st of January 2018 and back needs to be archived.

Any ideas how to do this?

Thanks for helping
Yashy
LVL 1
YashyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IvanSystem EngineerCommented:
Hi,

Only way that comes to my mind is by exporting and then deleting from source mailbox. This can be done on server, with MailboxExport and Search-Mailbox command.
Maybe there is some better way, let's see what other have to say.

Regards,
Ivan.
2
CodeTwo SoftwareSoftware DeveloperCommented:
If you want to use PowerShell to archive mailboxes, I would do it just as Ivan suggested in the comment above. So first, use the New-MailboxExportRequest:
New-MailboxExportRequest -Mailbox <user> -ContentFilter (Received -lt '01/01/2018') -FilePath \\<server FQDN>\<shared folder name>\<PST name>.pst

Open in new window

And then, use the Search-Mailbox to remove the archived content (from the mailbox)
Search-Mailbox -Identity <user> -SearchQuery '(sent<01/01/2018) OR (received<01/01/2018)' -DeleteContent 

Open in new window

You could also use the Search-Mailbox cmdlet without the -DeleteContent switch and provide the -TargetMailbox and -TargetFolder. However, it would simply transfer emails to the target location and you cannot input the target mailbox which is the same as the -identity parameter. In other words, it would only work if you have a separate mailbox for archiving purposes.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Todd NelsonSystems EngineerCommented:
Are you looking to export a mailbox to a PST file or archive within Exchange to an archive mailbox?
0
YashyAuthor Commented:
Todd - I was trying to archive the mailbox straight from Exchange. So instead of having to go to Outlook and archive from each individual's mailbox, I wanted to archive in the same way but via Exchange to avoid having to go to everybody's machines, if that makes sense.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.