I want to delete all message from Queue. How can I do it with Exchange Server 2007

link|improve this question
feedback

2 Answers

This powershell command will do it.

Get-ExchangeServer | ?{$_.IsHubTransportServer -eq $true} | Get-Queue | 
get-message | Remove-Message -withNDR $false
link|improve this answer
feedback

You can also open the queue in Exchange Management Console, go to the Toolbox and open the Queue Viewer. Once there, select all messages and click on the Remove option of your choice on the right. (With, or without NDR)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.