Solved! Go to Solution.
Does this help?
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
I figured it out! Had to query the WMI object:
// Query WMI for Message Queues var privateQueueNames = ; var Locator = getActiveXObject("WbemScripting.SWbemLocator"); Locator.Security_.ImpersonationLevel = 3; var wmiobj = Locator.ConnectServer(".", "root\\cimv2"); var queryresults = wmiobj.ExecQuery("Select * from Win32_PerfRawdata_MSMQ_MSMQQueue Where Name like \"%private%\""); // Push all queue names into privateQueueNames for( var items = new Enumerator(queryresults); !items.atEnd(); items.moveNext() ) privateQueueNames.push(items.item().Name); // Convert the function elements into strings privateQueueNames = privateQueueNames.join(); privateQueueNames = privateQueueNames.split(","); Log.Message(privateQueueNames);