Windows server 2003/2008 and Exchange 2007 – How to remove message from mail queue

Posted by aidas | Posted in Exchange 2007, Powershell | Posted on 07-05-2009

0




This post will show you how to remove specific message from Exchange 2007 mail queue using powershell. Lets say we want to remove message that was send by testuser@testdomain.com. Also we want that no Non Delivery Record (NDR) will be generated. To do it open exchange powershell on your Windows server 2003 and type:

Remove-message -filter {FromAddress -eq “testuser@testdomain.com”} -WithNDR $false

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • StumbleUpon
  • Blogosphere News


Follow us on Twitter !
Follow us on Twitter!


Write a comment