Free MSMQ command line tools

MSMQ MMC admin console (earlier MqExplorer) lacks many features, especially when things go wrong. These free command line tools are available as first aid.



Note: we also have QueueExplorer for full featured explorer-like MSMQ management.

QueueExplorer logo



Free tools

MQDelete - delete top message from queue
usage:
sample:
MQDelete SourceQueuePath
MQDelete .\private$\test

MQCopy - copy top message from one queue to another
usage:
sample:
MQCopy SourceQueuePath DestinationQueuePath
MQCopy .\private$\test1 .\private$\test2

MQSave - save body of top message to file
usage:
sample:
MQSave SourceQueuePath FileName
MQSave .\private$\test body.txt

MQSend - send message with specified label and body
usage:
sample:
MQSend SourceQueuePath MessageLabel BodyFileName
MQSend .\private$\test "Test message" body.txt



Download free MsmqFirstAidKit.zip (9Kb)



System requirements:
  • Windows XP, Windows 2000, Windows 2003
  • .Net Framework 1.1 or higher (download from Microsoft site)
  • Message Queuing installed