The Get-MsmqQueueManager cmdlet gets a QueueManager object. The QueueManager object contains state information for the local queue manager. The cmdlet gets the properties of the QueueManager object by using native Message Queuing (also known as MSMQ) APIs.
Example 1: Get the queue manager
PS C:\> Get-MsmqQueueManager
This command gets the queue manager.