Friday, August 19, 2011

Using Powershell Community Extensions (Pscx) to create an MSMQ queue

First get PSCX from:

Unzip PSCX to “C:\Windows\System32\WindowsPowerShell\v1.0\Modules” (you could also install it only to your profile, not going into that here)

Install the module by running the following command: install-module pscx (needs to be run each and every powershell session).

Create the queue using the command: new-msmqueue -name rajstest -force -private -machineName mymachinename

No comments: