Set-MsmqQueue
Set-MsmqQueue
Sets properties of queues.
構文
Parameter Set: Default
Set-MsmqQueue -InputObject <MessageQueue[]> [-Authenticate <Boolean> ] [-Journaling <Boolean> ] [-JournalQuota <Int64> ] [-Label <String> ] [-MulticastAddress <String> ] [-PrivacyLevel <EncryptionRequired> ] [-QueueQuota <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-MsmqQueue cmdlet sets properties of queues. This cmdlet returns an MsmqQueue object that represents the modified queue. Specify private or public queues to modify. If you specify a journal queue, system journal queue, system dead-letter queue, or system transactional dead-letter queue, the cmdlet returns an error.
パラメーター
-Authenticate<Boolean>
Indicates whether the queue accepts only authenticated messages. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-InputObject<MessageQueue[]>
Specifies an array of MsmqQueue objects. This cmdlet modifies properties of the queues that this parameter specifies. This parameter accepts pipeline input.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-JournalQuota<Int64>
Specifies the maximum size of the journal queue. Specify a value in kilobytes. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Journaling<Boolean>
Indicates whether to copy received messages to the journal queue. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Label<String>
Specifies a label. The label that this parameter specifies describes the queue. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-MulticastAddress<String>
Specifies the multicast address associated with the queue. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PrivacyLevel<EncryptionRequired>
Specifies the privacy level associated with the queue. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-QueueQuota<Int64>
Specifies the maximum size, in kilobytes, of the queue. There is no default value.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1
PS C:\> Get-MsmqQueue -Name "order*" -QueueType Private | Set-MsmqQueue -Journaling -QueueQuota 500000