O'Reilly logo

Microsoft Exchange Server PowerShell Cookbook - Third Edition by Mike Pfeiffer, Jonas Andersson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with messages in transport queues

Transport queues are a temporary storage location for messages that are in transit. Each mailbox server can have multiple queues at any given time, depending on the destination of the message. In this recipe, we'll cover several methods that can be used to view queued messages, remove messages from queues, and more.

How to do it...

To view the transport queues that are currently in use on a specific server, use the Get-Queue cmdlet:

Get-Queue -Server tlex01

In this example, the transport queues on the tlex01 server will be returned. The output might look similar to the following screenshot:

How to do it...

In this example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required