Archive email address

Hi Expert

How to archive the existing email to the new mailbox by powershell scripting?

Who is Participating?
CodeTwo SoftwareSoftware DeveloperCommented:
Hi alanlam123,
If you want to archive to another mailbox using PowerShell, you can use the Search-Mailbox cmdlet.
The following article shows how to use Search-Mailbox to delete mailbox content: How to delete email from mailboxes on Exchange 2016 / 2013 / 2010 / Online. To use Search-Mailbox for backup/archiving purposes, change the -DeleteContent attribute to -TargetMailbox and -TargetFolder attributes.
@Andre Marschalek The questions seem to be a bit different - this one is about archiving to another mailbox, the second question is about archiving to PST.
timgreen7077Exchange EngineerCommented:
Not sure I understand the question. Please clarify.
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.

All Courses

From novice to tech pro — start learning today.