Alon Ashkenazi
Alon Ashkenazi

Reputation: 1223

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.

Upvotes: 5

Views: 7292

Answers (1)

GSerjo
GSerjo

Reputation: 4778

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

Upvotes: 2

Related Questions