If you need to move the Exchange queue , you can follow the steps below.
1-Suspend Message QueueGet-Message -Server ExcSrv | Suspend-Message
2-Export Suspend MessageGet-Message -Server ExcSrv | ForEach-Object {$Temp="E:\Export\"+$_.InternetMessageID+".eml";$Temp=$Temp.Replace("<","");$Temp=$Temp.Replace(">","");Export-Message $_.Identity | AssembleMessage -Path $Temp}
3-It is sufficient to move the exported mails to the Replay folder to enable resending.
Path –> “Exchange Server\V15\TransportRoles\Replay”
Note : Run Exchange Management Shell as an Administrator .
Have a nice day!