Edit

Share via


Resume-MsmqOutgoingQueue

Resumes outgoing queues.

Syntax

Default (Default)

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.

Parameter properties

Type:

OutgoingQueue[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Msmq.PowerShell.Commands.OutgoingQueue

Outputs

Object