Clear-MSMQOutgoingQueue

Clear-MSMQOutgoingQueue

Purges outgoing queues.

構文

Parameter Set: Default
Clear-MSMQOutgoingQueue -InputObject <OutGoingQueue[]> [ <CommonParameters>]

詳細説明

The Clear-MsmqOutgoingQueue cmdlet purges outgoing queues. Specify queues to purge by using MsmqOutgoingQueue objects. This cmdlet returns an MsmqOutgoingQueue object that represents the cleared outgoing queue.

パラメーター

-InputObject<OutGoingQueue[]>

Specifies an array of MsmqOutgoingQueue objects. This cmdlet purges outgoing queues that this parameter specifies. This parameter accepts pipeline input.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1

PS C:\> Get-MsmqOutgoingQueue -Name "Order*" | Clear-MsmqOutgoingQueue

関連トピック

Get-MsmqOutgoingQueue

Resume-MsmqOutgoingQueue

Suspend-MsmqOutgoingQueue