CmdID

CmdID / PowerShell / Cmdlets / Receive

Receive-MsmqQueue

Does a destructive read from a queue. Windows Server PowerShell reference

From the Windows Server PowerShell reference 6 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

6 in the Windows Server PowerShell reference
-CountSpecifies the number of messages to be returned.
-InputObjectSpecifies a MessageQueue object.
-PeekIndicates that this cmdlet returns a copy of the first message in the queue without removing the message from the queue.
-RetrieveBodyIndicates that this cmdlet returns the body of the message.
-TimeoutSpecifies the maximum time, in milliseconds, to wait for the queue to contain a message.
-TransactionalIndicates that the cmdlet performs a transacted receive.