Solved

A script to purge dead letter messages in Windows 2008 R2 MSMQ

Posted on 2011-02-14
6
1,969 Views
Last Modified: 2012-05-11
Hello,

Can anyone refer me to any kind of script that can purge dead letter messages in Windows 2008 R2 message queue?

Thank you for your help.
0
Comment
Question by:JOSHUABT
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:TomasP
ID: 35471226
Here are some link that will help you delete the deadletter queue
This is PowerShell scripting
0
 

Author Comment

by:JOSHUABT
ID: 35471234
TomasP
Did you forget to include the link?
0
 
LVL 5

Expert Comment

by:TomasP
ID: 35471320
0
Do email signature updates give you a headache?

Are you constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 

Author Comment

by:JOSHUABT
ID: 35471372
Tomas,
The original question was not celar enough.
We are looking for a way to purge messages from deadletter queue, and not deleting the queue itself.
Any idea?

Thanks,
0
 
LVL 5

Accepted Solution

by:
TomasP earned 500 total points
ID: 35471403
0
 

Author Comment

by:JOSHUABT
ID: 35487932
Thanks for the help.

I do have a couple of questions:
   1. Can this method purge the Dead Letter system queue?
   2. How would I find the path to the queue?

0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now