Solved

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

Posted on 2011-02-14
6
2,102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

728 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