MSMQ command line in win 7

孤街浪徒 提交于 2019-12-23 11:52:45

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/9018826/msmq-command-line-in-win-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!