Get-Msmq
Outgoing
Queue
Syntax
Get-MsmqOutgoingQueue
[[-Name] <String[]>]
[<CommonParameters>]
Description
The Get-MsmqOutgoingQueue cmdlet gets MsmqOutgoingQueue objects. Each object represents a transactional or non-transactional outgoing queue. This cmdlet gets outgoing queues that are local to the computer on which you run the cmdlet. If you do not specify parameters, this cmdlet gets all outgoing queues of the host computer.
Examples
Example 1: Get outgoing message queues
PS C:\> Get-MsmqOutgoingQueue -Name "Order*"
This command gets all outgoing message queues that are local to the current computer that start with the string Order.
Optional Parameters
Specifies an array of names of queues. The names specify outgoing queues. This parameter supports wildcard characters. The default value is *.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |