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 |
|
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
Examples
Usage Scenario
PS C:\> Get-MsmqOutgoingQueue –Name Order* | Suspend-MsmqOutgoingQueue