none
Exporting multiple mailboxes at a time (Multiple Powershell instances) - Exchange 2007 RRS feed

  • Question

  • Can I open multiple instances of Powershell to export several different mailboxes (to PSTs) at once...or are there any dependency issues with exporting multiple PSTs at the same time?
    Monday, June 4, 2012 6:44 PM

Answers

  • Hi thekernel99,

    To export multiple mailboxes to their respective .pst files at once you can pipe in the identities of those mailboxes to the export task. You don't need to open multiple instances of Powershell.

    For example:

    Get-Mailbox -OrganizationalUnit Marketing | Export-Mailbox -PSTFolderPath C:\PSTFiles

    For more information,please see:

    Export-Mailbox

    http://technet.microsoft.com/en-us/library/aa998579(v=exchg.80).aspx


    Frank Wang

    TechNet Community Support

    • Marked as answer by emma.yoyo Monday, June 11, 2012 2:11 AM
    Wednesday, June 6, 2012 3:35 AM

All replies

  • I would hope you wouldn't try to export multiple to the same PST file.  I don't see any other issues than possibly bringing the server's performance to its knees.


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

    Monday, June 4, 2012 6:55 PM
    Moderator
  • Hi thekernel99,

    To export multiple mailboxes to their respective .pst files at once you can pipe in the identities of those mailboxes to the export task. You don't need to open multiple instances of Powershell.

    For example:

    Get-Mailbox -OrganizationalUnit Marketing | Export-Mailbox -PSTFolderPath C:\PSTFiles

    For more information,please see:

    Export-Mailbox

    http://technet.microsoft.com/en-us/library/aa998579(v=exchg.80).aspx


    Frank Wang

    TechNet Community Support

    • Marked as answer by emma.yoyo Monday, June 11, 2012 2:11 AM
    Wednesday, June 6, 2012 3:35 AM
  • I'll show you another easier method in my opinion that I used yesterday.

    Create a text file like export_list.txt with your alias names like:

    user1
    user2
    user3

    Then from the powershell type:

    type export_list.txt | Export-mailbox -PSTFolderPath r:\Exports

    Worked perfectly...

    Max

    • Proposed as answer by inMind Labs Monday, October 22, 2012 3:05 PM
    Saturday, October 20, 2012 2:27 PM
  • Hello,

    here's a step by step but as Ed Crowley mentioned, if you export too many mailboxes simultaneously it will have a big performance impact:

    http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=115


    Miguel Fra | Falcon IT Services, Miami, FL
    www.falconitservices.com | www.falconits.com | Blog

    Monday, December 31, 2012 4:02 AM
  • Yep that worked for me too on Exchange 2007 SP3. Thanks!
    Tuesday, December 31, 2013 8:45 PM