Exchange 2010 + Work with queues
1. Get the queue list
C:\>get-queue -server your-server
Identity DeliveryType Status MessageCount NextHopDomain
——– ———— —— ———— ————-
yourserver\183671 DnsConnec… Ready 0 gmail.com
yourserver\Submission Undefined Ready 0 Submission
yourserver\Shadow\151617 ShadowRed… Ready 1 yourserver
2. Export all the messages from a queue, e.g.:
$exp = get-queue -queue “yourserver\183671″
$exp | ForEach-Object
{
$Temp=”C:\Export\”+$_.InternetMessageID+”.eml”;
$Temp=$Temp.Replace(“<“,”_”);
$Temp=$Temp.Replace(“>”,”_”);
Export-Message $_.Identity | AssembleMessage -Path $Temp
}
3. Place the exported messages to Replay directory on another server to send them.
P.S.: There was the “$exp” variable anounced because direct script didn’t work for me. This trick doesn’t work with the “Shadow” queue. 🙁
Shell + echo a random string from a file Lync 2013 + Front-End service stucks with “Starting”
Comments are currently closed.