Posted on 2012-08-16
Last Modified: 2012-08-17
I would like to make use of Exmerge to archive email older than a certain date but do not want tasks or calendar events to be touched. Is this at all possible with Excmerge if it were to run on a SBS 2011 server running Exchange 2010?

Question by:QGSmith
    LVL 5

    Expert Comment

    ExMerge.exe can ONLY be run against Exchange 5.5, Exchange 2000, and Exchange 2003.

    Exchange 2010 has built-in cmd-lets to export and import.
    LVL 12

    Accepted Solution

    Yeah, exmerge will not work in Exchange 2010. To export mail, you would use a cmdlet like the following:

    First, ensure you have rights:
    New-ManagementRoleAssignment -Role "Mailbox Import Export" -User <username>
    New-ManagementRoleAssignment -Role "Mailbox Import Export" -Group <groupname>

    Open in new window

    Then export to a PST:
    New-MailboxExportRequest -Mailbox <mailboxnameAlias>  -ExcludeFolders "#calendar#","#tasks#" -FilePath "c:\archive\mailbox.pst" -contentFilter {(Received -gt "7/16/2012")}

    Open in new window

    The problem is, the -deletecontent option is gone. You have to use Search-Mailbox to delete the messages you archived, but I am not sure of the best way to use that.
    LVL 5

    Expert Comment


    Author Comment

    Thanks, but I still would like to know what will happen to calendar events and tasks as I am not sure if Ex-merge will export those too. The reason for my asking:

    If a user created a future and even recurring calendar event in 2010. How will ex-merge handle the event. Will it ignore the event or export and remove the event? The same question applies to tasks.??
    LVL 52

    Assisted Solution

    by:Manpreet SIngh Khatra
    QGSmith: As per the command given it will exlude the 2 folders only "Calendar and Tasks". As per the command its going to exclude all and it doesnt sync anything just will export data from the mailbox on the time you run .... thats it

    - Rancy

    Featured Post

    Want to promote your upcoming event?

    Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

    Join & Write a Comment

    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    Use email signature images to promote corporate certifications and industry awards.
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now