Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Powershell   (RSS)

"Can I write a script to create a queue in MSMQ and set the permissions on it?"

The first part is easy enough but the second is tricky. For example, here's how to create a public queue with 'Old School' VBScript: set iq=CreateObject("MSMQ.MSMQQueueInfo") iq.PathName=”machine\queue” iq.Label=”The queue” iq.Create (IsTransactional=0)
Posted by JohnBrea | 0 Comments
Filed under: , ,

MSMQ and Powershell #1

Powershell is looking to be a really great scripting language and ideal for filling the void of scripts available for manipulating MSMQ. Over the next few weeks I plan to generate some simple scripts that will perform some of the basic, and not so basic,
 
Page view tracker