Get-MsmqQueue

Get-MsmqQueue

Gets message queues.

구문

Parameter Set: All
Get-MsmqQueue [[-Name] <String[]> ] [-QueueType <QueueType> ] [ <CommonParameters>]

Parameter Set: Journal
Get-MsmqQueue [[-Name] <String[]> ] [-Journal] [-QueueType <QueueType> ] [ <CommonParameters>]

Parameter Set: SubQueue
Get-MsmqQueue [[-Name] <String[]> ] [-QueueType <QueueType> ] [-SubQueue <String> ] [ <CommonParameters>]

자세한 설명

The Get-MsmqQueue cmdlet gets an array of MsmqQueue objects. Each MsmqQueue object represents an existing private, public, or system queue. This cmdlet gets queues that are local to the computer where you run the cmdlet. If you do not specify parameters, this cmdlet gets all public, private, and system queues of the host computer.

매개 변수

-Journal

Indicates that this cmdlet retrieves the Journal queue or queues that match the Name parameter.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Name<String[]>

Specifies an array of names of queues. This cmdlet accepts wildcard characters. The default value is *.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

-QueueType<QueueType>

Specifies a queue type. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- PrivateAndPublic. The cmdlet gets public and private queues that match the Name parameter.
-- Private. The cmdlet gets private queues that match the Name parameter.
-- Public. The cmdlet gets public queues that match the Name parameter.
-- SystemDeadLetter. The cmdlet gets non-transactional dead-letter queues that match the Name parameter.
-- SystemJournal. The cmdlet gets system journal queues that match the Name parameter.
-- SystemTransactionalDeadLetter. The cmdlet gets transactional dead-letter queues that match the Name parameter.

The default value is PrivateAndPublic.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-SubQueue<String>

Specifies a subqueue object to get for the main queue. If the subqueue does not exist, the cmdlet creates it implicitly. The question mark (?) and asterisk (*) are not interpreted as wildcard characters, but part of the subqueue name.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

Example 1

PS C:\> Get-MsmqQueue

Example 2

PS C:\> Get-MsmqQueue -Name "Order*" -QueueType Private

Example 3

PS C:\> Get-MsmqQueue -Name "Order*" -Journal -QueueType Private

Example 4

PS C:\> Get-MsmqQueue -QueueType SystemJournal

관련 항목

Clear-MsmqQueue

New-MsmqQueue

Receive-MsmqQueue

Remove-MsmqQueue

Send-MsmqQueue

Set-MsmqQueue