Share via


Today's favourite command line (#2 in a series)

For years without end I've been typing

NET STOP MSMQ

{{twiddle thumbs}}

NET START MSMQ

without realising there has always been a way to get rid of the wasted time in the middle - you can concatenate the commands!

NET STOP MSMQ && NET START MSMQ

Every day there is an opportunity to learn something new.

Comments

  • Anonymous
    November 18, 2008
    Or if you're using powershell: Restart-Service MSMQ -Force

  • Anonymous
    November 20, 2008
    Thanks, Harley.