Editar

Compartir a través de


Resume-MsmqOutgoingQueue

Resumes outgoing queues.

Syntax

Resume-MsmqOutgoingQueue
      [-InputObject <OutgoingQueue[]>]
      [<CommonParameters>]

Description

The Resume-MsmqOutgoingQueue cmdlet resumes outgoing queues. Specify queues to resume by using MsmqOutgoingQueue objects. The cmdlet returns the resumed MsmqOutgoingQueue objects.

Examples

Example 1: Resume outgoing queues specified by name

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

This command gets the outgoing queues have names that start 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 resumes the queues.

Parameters

-InputObject

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

Type:OutgoingQueue[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

Microsoft.Msmq.PowerShell.Commands.OutgoingQueue[]

Outputs

Object