Get-MSMQOutgoingQueue
Get-MSMQOutgoingQueue
This cmdlet returns an array of MsmqOutgoingQueue objects, each representing a transactional or non-transactional outgoing queue.
Syntax
Parameter Set: Default
Get-MSMQOutgoingQueue [-Name <String[]> ] [ <CommonParameters>]
Detailed Description
This cmdlet returns an array of MsmqOutgoingQueue objects, each representing a transactional or non-transactional outgoing queue. The outgoing queue must be local to the machine on which the cmdlet is executed. Without parameters, this cmdlet will return all outgoing queues of the host machine.
Parameters
-Name<String[]>
The name of the outgoing queue. Supports Wildcard characters. Default is “*”.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
|
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Examples
Usage Scenario
PS C:\> Get-MsmqOutgoingQueue –Name Order*