Remove all Messages in Exchange Transport Queue on Exchange 2010

2017-12-08T15:05:21+00:00 September 3rd, 2012|Exchange|0 Comments

Recently we were required to remove all message in an Exchange 2010 queue.

You can simply do this with the below commands

To Remove Sending an NDR

Get-Message | Remove-Message -Confirm:$False

To Remove without an NDR

Get-Message | Remove-Message -WithNDR $false -Confirm:$False

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
SUBSCRIBE!
Give it a try, you can unsubscribe anytime.