< Back

Reset-CMsmqQueueManagerID

Sun Jan 12, 2020 10:57 pm

NAME Reset-CMsmqQueueManagerID



SYNOPSIS

Resets the MSMQ Queue Manager ID.





SYNTAX

Reset-CMsmqQueueManagerID [<CommonParameters>]





DESCRIPTION

Removes any existing MSMQ Queue Manager ID in the registry and restarts MSMQ so that it will generate a fresh QM

ID.



Each instance of MSMQ should have its own unique Queue Manager ID. If multiple machines have the same Queue

Manager ID, destination queues think messages are actually coming from the same computer, and messages are

lost/dropped. If you clone new servers from a template or from old servers, you'll get duplicate Queue Manager

IDs. This function causes MSMQ to reset its Queue Manager ID.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Reset-CMsmqQueueManagerId















RELATED LINKS

http://blogs.msdn.com/b/johnbreakwell/a ... nique.aspx