Export Disconnected Mailboxes to PST
Is there any way to export ALL disconnected mailboxes to PST. I can get all my disconnected mailboxes using
Get-MailboxStatistics -Database "natexchange2\mailbox storage database" | where-object { $_.DisconnectDate -ne $null}
But from get-mailboxstatistics i can only get displayname as an identifier but it needs quotes around it before I can pipe it to export-mailbox - is this possible?
Hibs Ya Bass!
April 29th, 2011 6:14pm
Hi Hibs,
Alternatively, you can move all disconnected mailbox in one databse and export all mailbox in PST. If you run:
Get-Mailbox –Database "EDB Databse" | Export-Mailbox –PSTFolderPath c:\PSTs it will export all mailboxes within the Mailbox Database market-dept.edb to PST files.
I did not test it but you can have a try :)
Anil
Free Windows Admin Tool Kit Click here and download it now
April 30th, 2011 12:03am
Hi Hibs,
Any update about your issue ?Anil
May 1st, 2011 11:11pm
Hi Hibs,
Per my knowledge, Export-mailbox cannot export disconnected mailboxes. If you want to export disconnected mailboxes to PST, you can achieve the goal by this way:
Create temp users, and connect the disconnected mailboxes to the temp users. Use Export-mailbox to export the (reconnected )mailboxes to PST files. After you export
the mailboxes, you can disable all the (reconnected )mailboxes.
If you only want to save the disconnected mailboxes, you also can follow Mike’s suggestion in this thread:
Export-Mailbox on Disconnected Mailboxes?
http://social.technet.microsoft.com/forums/en-us/exchangesvradmin/thread/460B10DF-BCC5-4DBD-AB4B-0F06ACBE6219
Thanks,
Evan
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2011 3:31am
Also if you are using Exchange 2010 then export-mailbox does not work for 2010. you must be using new-exportmailbox for this.
http://technet.microsoft.com/en-us/library/ff459227.aspx
Anil
May 3rd, 2011 9:00am