Set-MsmqQueueManager

Set-MsmqQueueManager

Configures the queue manager.

구문

Parameter Set: All
Set-MsmqQueueManager [-JournalQuota <UInt64> ] [-LogMsgStore <String> ] [-MessageQuota <UInt64> ] [-MsgStore <String> ] [-RenewEncryptionKey] [-TransactionLogStore <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Connect
Set-MsmqQueueManager [-Connect] [-JournalQuota <UInt64> ] [-LogMsgStore <String> ] [-MessageQuota <UInt64> ] [-MsgStore <String> ] [-RenewEncryptionKey] [-TransactionLogStore <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Disconnect
Set-MsmqQueueManager [-Disconnect] [-JournalQuota <UInt64> ] [-LogMsgStore <String> ] [-MessageQuota <UInt64> ] [-MsgStore <String> ] [-RenewEncryptionKey] [-TransactionLogStore <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

자세한 설명

The Set-MsmqQueueManager cmdlet configures the properties of the Message Queuing (also known as MSMQ) queue manager. This cmdlet returns a QueueManager object that represents the modified local queue manager. If you specify the RenewEncryptionKey parameter to renew keys, you must restart the Message Queuing service for the new keys to become effective.

매개 변수

-Connect

Indicates that this cmdlet connects the computer to the network and to the directory service. If you specify this parameter, you cannot specify the Disconnect parameter.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Disconnect

Indicates that this cmdlet disconnects the computer from the network and from the directory service. If you specify this parameter, you cannot specify the Connect parameter.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-JournalQuota<UInt64>

Specifies the total Journal Message Storage quota for Message Queuing.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-LogMsgStore<String>

Specifies a new message logger storage location. The cmdlet moves all the message logger files to the new location.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-MessageQuota<UInt64>

Specifies the total Message Storage quota for Message Queuing.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-MsgStore<String>

Specifies a new message storage location. The cmdlet moves all the message files to the new location.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-RenewEncryptionKey

Indicates that this cmdlet renews the public encryption key.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-TransactionLogStore<String>

Specifies a new transaction logger storage location. This cmdlet moves over all the transaction logger files to the new location.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

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:\> Set-MsmqQueueManager -MessageQuota 2048576 -MsgStore "C:\MSMQ\MessageFiles" -TransactionLogStore "C:\MSMQ\TransactionLogs"

관련 항목

Get-MsmqQueueManager