CmdID / PowerShell / Cmdlets / Redirect
Redirect-Message
Use the Redirect-Message cmdlet to drain the active messages from all the delivery queues on a Mailbox server, and transfer those messages to another Mailbox server. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-ServerThe Server parameter specifies the source Exchange server where you want to run this command.-TargetThe Target parameter specifies the target Mailbox server where you want to transfer the messages from the drained delivery queues.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.