Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 2.07 KB

Suspend-MsmqOutgoingQueue.md

File metadata and controls

73 lines (52 loc) · 2.07 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.Msmq.PowerShell.Commands.dll-Help.xml
MSMQ
12/27/2016
2.0.0
Suspend-MsmqOutgoingQueue

Suspend-MsmqOutgoingQueue

SYNOPSIS

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[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Clear-MsmqOutgoingQueue

Get-MsmqOutgoingQueue

Resume-MsmqOutgoingQueue