Skip to content

Instantly share code, notes, and snippets.

@ramonsmits
Created March 27, 2018 11:25
Show Gist options
  • Select an option

  • Save ramonsmits/a536b0188beea3f775a6d945ef0105b2 to your computer and use it in GitHub Desktop.

Select an option

Save ramonsmits/a536b0188beea3f775a6d945ef0105b2 to your computer and use it in GitHub Desktop.
Get some statistics about all incoming/outgoing queue message counts with Powershell
Get-MsmqQueue | select QueueName, MessagesInQueue, BytesInQueue, JournalMessageCount
Get-MsmqOutgoingQueue | select DestinationQueueFormatName, MessageCount, State, EodNoAckCount, EodNoReadCount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment