Author: Zahir Hussain Shah, MVP Exchange Server
How to transfer crashed Exchange Server HUB Transport sending message queue to the new working Exchange Server HUB Transport sending queue
Recently I happened to be witnessed of a discussion about how to move a crashed Exchange Server message queue to a newly built Exchange Server messaging queue. My fellow MVP Anthony Costeseque brought this to my attention, which I thought to share with my blog readers, which might be interesting to know about.
Problem:
Lets assume that you have single Exchange Server 2012 running all the typical roles (CAS/HUB/Mailbox), and recently you found that your Exchange Server crashed, and all the messages, which were in the queue didnt delivered to their intended recipients.
Need and Wants:
You want for your crashed Exchange Server messaging sending queue should get to the new Exchange Server you built.
Solution:
So for taking the message queue from a crashed Exchange Server to the newly built working Exchange Server, below outlined steps for export-message CMDLet can be followed to make this work:
| $array = @(Get-Message -Queue “QueueName” -ResultSize unlimited)
$array | ForEach-Object {$i++;Export-Message $_.Identity | AssembleMessage -Path (“c:\MailsExport\”+ $i +”.eml”)} |
After running the above specified CMDLet, you then can put all the .EML files to the working Exchange Server HUB Transport Server Transport Pickup folder, which will process all these messages and send them to their intended destination.
Cheers!

Leave a comment