获胜7中的MSMQ命令行

Alo*_*azi 5 command-line msmq

是否存在用于MSMQ基本操作的cmd行(获取队列大小,清除队列).我试过google但是没有任何想法有用.

GSe*_*rjo 2

最简单、最好的方法是使用 powershell,看看PowerShell 社区扩展

您将能够调用以下命令

Clear-MSMQueue
Get-MSMQueue
New-MSMQueue
Receive-MSMQueue
Send-MSMQueue
Test-MSMQueue
Run Code Online (Sandbox Code Playgroud)

查看如何从 cmd 清除