Checking the Mail Queues

To run a query against the mailbox queues, type the following command:

Get-ExchangeServer | % { Get-Queue -Server $_.FQDN }

or alternatively, to segregate a specific set of queues.

Get-ExchangeServer AAA* | % { Get-Queue -Server $_.FQDN }

or alternatively, you can even look at a specific server’s queues, using AAA2 as the name of the sample server.

Get-ExchangeServer | % { Get-Queue -Server AAA2 }