Purge MSMQ Private Queue using PowerShell

I needed to be able to purge all Private Queues using PowerShell. I also needed to have this work on Powershell 3.0. here is the snippet I used to complete this task.

with Powershell 4.0 you can use Get-MsmQueue


Leave a Reply

%d bloggers like this: