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?

1

Default Value

none

Accept Pipeline Input?

true(ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Usage Scenario

PS C:\> Get-MsmqOutgoingQueue –Name Order*