Removing Messages from Shadow Queues

To remove messages from shadow queues, run this command from Exchange Powershell:

Get-Queue -Server servername | Where {$_.Identity -like "*Shadow*"} | Get-Message | Remove-message -confirm:$false​

This will remove the messages from any Shadow queue without prompting you for confirmation.