Other articles


  1. Read MSMQ Messages from PowerShell

    This script dumps the contents of an MSMQ to the console. This one dumps the Journal contents of a private queue; of course you'll have to adjust that line for your queue.

    [Reflection.Assembly]::LoadWithPartialName("System.Messaging")
    
    $queueName = '.\Private$\your.queue.name\Journal$';
    $queue = new-object System.Messaging.MessageQueue $queueName;
    $utf8 …
    read more

    There are comments.

links

social