Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSMQ command line in win 7

Is there a cmd line for MSMQ basic operation (get the queue size, purge queue). I tried google it but did not get any think useful.

like image 970
Alon Ashkenazi Avatar asked Nov 05 '22 07:11

Alon Ashkenazi


1 Answers

The simplest and the best way is to use powershell, take a look on PowerShell Community Extensions

and you'll be able to invoke following commnads

Clear-MSMQueue
Get-MSMQueue
New-MSMQueue
Receive-MSMQueue
Send-MSMQueue
Test-MSMQueue

See how to purge from cmd

like image 111
GSerjo Avatar answered Nov 17 '22 13:11

GSerjo