Manage queues: Exchange 2013 Help | Microsoft Learn

applies to: exchange server 2013

In Microsoft Exchange Server 2013, you can use the Queue Viewer in the Exchange Toolbox or the Exchange Management Shell to manage queues. For more information about how to use the queue management cmdlets in the exchange management shell, see use the exchange management shell to manage queues.

what do you need to know before you start?

  • estimated time to complete each procedure: 15 minutes

    You must have permissions assigned before you can perform this procedure(s). to see what permissions you need, see the “queues” entry in the mail flow permissions topic.

    For information about keyboard shortcuts that can be applied to the procedures in this topic, see the keyboard shortcuts in the exchange admin center.

    see tails

    use queue viewer in exchange toolbox to view queues

    1. click start > all programs > microsoft exchange 2013 > exchange toolbox.

      in the mail flow tools section, double-click queue viewer to open the tool in a new window.

      In the queue viewer, click the queues tab. a list of all queues on the server you are connected to is displayed.

      You can use the export list link in the action pane to export the list of queues. for more information, see export lists from the queue viewer.

      use the shell to view queues

      To see the queues, use the following syntax.

      This example displays basic information about all non-empty queues on the Exchange 2013 mailbox server named mailbox01.

      This example displays detailed information for all queues that contain more than 100 messages on the Mailbox server on which the command is run.

      use the shell to view queue summary information on multiple exchange servers

      The get-queuedigest cmdlet provides a high-level, aggregated view of the status of queues across all servers within a specific scope, for example, a dag, an active directory site, a list of servers, or the entire active directory forest. note that queues on a subscribed Edge Transport server in the perimeter network are not included in the results. also, get-queuedigest is available on an Edge Transport server, but the results are restricted to queues on the Edge Transport server.

      To view summary information about queues on multiple exchange servers, run the following command:

      This example displays summary information about the queues on all Exchange 2013 Mailbox servers in the Active Directory site named firstsite where the message count is greater than 100.

      This example displays summary information about the queues on all Exchange 2013 mailbox servers in the database availability group (dag) named dag01 where the queue status has the value retry.

      resume queues

      Resuming a queue restarts outgoing activities in a queue that is in a suspended state. the queue must be in a suspended state for this action to have any effect. when you resume a queue, the status of the messages in the queue does not change. messages that have a status of suspended remain suspended and do not exit the queue.

      use queue viewer in exchange toolbox to resume queues

      1. click start > all programs > microsoft exchange 2013 > exchange toolbox.

        in the mail flow tools section, double-click queue viewer to open the tool in a new window.

        In the queue viewer, click the queues tab. a list of all queues on the server you are connected to is displayed.

        click create filter and enter your filter expression as follows:

        1. select status from the queue properties dropdown list.

          select is equal to from the comparison operator dropdown list.

          select suspended from the dropdown list of values.

          click apply filter. all queues on the server that are currently suspended are displayed.

          select one or more queues from the list, right-click, and then select resume.

          use the shell to resume queues

          To resume the queues, use the following syntax.

          This example resumes all queues on the local server that are in a suspended state.

          This example resumes the suspended delivery queue named contoso.com on the server named mailbox01.

          how do you know this worked?

          To verify that you have successfully resumed a queue, do the following:

          1. Use the queue viewer or the get-queue cmdlet to find the queue you tried to resume.

            verify that the status property of the queue does not have the value suspended.

            retry queues

            When a transport server is unable to connect to the next hop, the delivery queue is put into a retry state. when you retry a delivery queue using either the queue viewer or the shell, it forces an immediate connection attempt and overrides the next scheduled retry time. if the connection is unsuccessful, the retry interval timer is reset. the delivery queue must be in the retry state for this action to take effect.

            use the queue viewer in the exchange toolbox to retry a queue

            1. click start > all programs > microsoft exchange 2013 > exchange toolbox.

              in the mail flow tools section, double-click queue viewer to open the tool in a new window.

              In the queue viewer, click the queues tab. a list of all queues on the server you are connected to is displayed.

              click create filter and enter your filter expression as follows:

              1. select status from the queue properties dropdown list.

                select is equal to from the comparison operator dropdown list.

                select retry from the dropdown list of values.

                click apply filter. all queues that currently have a retry status are displayed.

                select one or more queues from the list. right-click and select retry queue. if the connection attempt is successful, the status of the queue changes to active. if a connection cannot be established, the queue remains in a retry state and the next retry time is updated.

                use the shell to retry a queue

                To retry queues, use the following syntax.

                This example retries all queues on the local server with a status of retry.

                This example retries the queue named contoso.com that is in the retry state on the server named mailbox01.

                how do you know this worked?

                To verify that you have successfully retried a queue, do the following:

                1. Use the queue viewer or the get-queue cmdlet to find the queue you tried to retry.

                  verify that the queue’s lastretrytime property matches the time you tried to retry the queue.

                  resend messages in queues

                  resubmitting a queue is similar to retrying a queue, except messages are sent back to the submission queue for reprocessing by the categorizer. you can resend messages that have the following status:

Leave a Reply

Your email address will not be published. Required fields are marked *