Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-02-14
6
Medium Priority
?
2,165 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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 

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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

719 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