Get-MSMQOutgoingQueue
Gets outgoing message queues.
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.
Parameters
-Name
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 |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
String[]