title: How to retrieve names of all private MSMQ queues - efficiently?
body: <p>How can I retrieve the <strong>names</strong> of all of the private MSMQ queues on the local machine, without using <code>System.Messaging.MessageQueue.GetPrivateQueuesByMachine(".")</code>? I'm using PowerShell so any solution using COM, WMI, or .NET is acceptable, although the latter is preferable.</p>
  
  <p>Note that <a href="https://stackoverflow.com/questions/3329038/msmq-get-all-private-queues">this question</a> has a solution that returns all of the queue objects. I don't want the objects (it's too slow and a little flakey when there are <em>lots</em> of queues), I just want their names.</p>