Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Set-Mailbox cmdlet takes a long time to complete configuration in an Exchange Server 2010 environment


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a mailbox database that contains many mailboxes in a Microsoft Exchange Server 2010 environment.
  • The mailbox server that hosts the database is offline.
  • You run the Set-Mailbox cmdlet to configure the mailboxes in the mailbox database on a different mailbox server.
In this scenario, the cmdlet takes a long time to complete the configuration.


For example, you run the following cmdlet to configure the database GUID for all 100 mailboxes in a mailbox database on an Exchange Server 2010 mailbox server:
Get-mailbox -identity * | set-mailbox -database "Mailbox Database DUID" -Force:$True

It may take 45 minutes to complete the configuration if the mailbox server is offline. However, it takes only 15 to 20 seconds to complete the configuration if the mailbox server is online.

↑ Back to the top


Cause

When Active Manager makes a remote procedure call (RPC) to the mailbox server to retrieve the status of the database, Active Manager encounters a time-out issue when the Mailbox server is offline. However, because the failure status is not cached, Active Manager continues to make an RPC to retrieve the status for each mailbox. Therefore, if there are many mailboxes in the database, this process can take a very long time.


↑ Back to the top


Resolution

To resolve this issue, install the update rollup that is described in the following article in the Microsoft Knowledge Base: 
2685289 Description of Update Rollup 3 for Exchange Server 2010 Service Pack 2

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about the Set-Mailbox cmdlet, go to the following Microsoft website:For more information about Active Manager, go to the following Microsoft website:

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2705555
Revision : 1
Created on : 1/7/2017
Published on : 5/29/2012
Exists online : False
Views : 319