Suspend-MsmqOutgoingQueue
Pauses outgoing queues.
Syntax
Suspend-MsmqOutgoingQueue
-InputObject <OutgoingQueue[]>
[<CommonParameters>]
Description
The Suspend-MsmqOutgoingQueue cmdlet pauses outgoing queues. Specify queues to pause by using MsmqOutgoingQueue objects. This cmdlet returns the suspended queue objects.
Examples
Example 1: Suspend outgoing queues specified by name
PS C:\> Get-MsmqOutgoingQueue -Name "Order*" | Suspend-MsmqOutgoingQueue
This command gets all outgoing queues that have names hat begin with the string Order by using the Get-MsmqOutgoingQueue cmdlet. The command passes the results to the current cmdlet by using the pipeline operator. The current cmdlet suspends those queues.
Parameters
-InputObject
Specifies an array of MsmqOutgoingQueue objects. This cmdlet pauses outgoing queues that this parameter specifies. This parameter accepts pipeline input.
Type: | OutgoingQueue[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.Msmq.PowerShell.Commands.OutgoingQueue[]
Outputs
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기