Suspend-MsmqOutgoingQueue
Suspend-MsmqOutgoingQueue
Pauses the specified outgoing queues.
Syntax
Parameter Set: Default
Suspend-MsmqOutgoingQueue -InputObject <OutgoingQueue[]> [ <CommonParameters>]
Detailed Description
This cmdlet pauses all outgoing queues that are represented by the supplied MsmqOutgoingQueue objects, and returns the suspended queue objects.
Parameters
-InputObject<OutgoingQueue[]>
An array of MsmqOutgoingQueue objects that represent the outgoing queues that are to be paused. Accepts pipelined input.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true(ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Usage Scenario
PS C:\> Get-MsmqOutgoingQueue –Name Order* | Suspend-MsmqOutgoingQueue