New-Mailbox using the snap-in is very slow
Hello,
I've got a weird issue : I work on a replica of a prod environment. There is only one Client Access Server on this replica.
When I try to create a linked mailbox via PowerShell by loading the Exchange 2010 snap-in, it takes something like 20m.
If I run the same creation command on a remote session or in the EMC, the creation is quite fast.
I tried to run it in verbose mode to detect the step that takes so much time using the snap-in, and it found this :
VERBOSE: [13:24:26.331 GMT] New-Mailbox : [Microsoft Cmdlet Extension Agent] Found Email Address Policy "<domain>"
VERBOSE: [13:44:57.393 GMT] New-Mailbox : [Microsoft Cmdlet Extension Agent] Add Primary Email Address
X400:C=FR;A=etc...
If I run the same command in the same runtime, the second time it runs fast, but if I close the PS console, import the snap-in again and run the command from scratch, it takes 20m setting the primary email
address.
Does somebody have an idea about this ? Or some details about how it works "from the inside" ?Thanks a lot
MATHIEU Alexis | ashworks@live.fr
April 16th, 2013 11:47am
Hi
Try the steps on this blog to Speed up Exchange Management Shell
http://terrytlslau.tls1.cc/2011/09/speed-up-exchange-management-shell-and.html
Hope it helps
Cheers
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.Zi Feng
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
April 17th, 2013 3:21am
Hi
Try the steps on this blog to Speed up Exchange Management Shell
http://terrytlslau.tls1.cc/2011/09/speed-up-exchange-management-shell-and.html
Hope it helps
Cheers
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.Zi Feng
TechNet Community Support
April 17th, 2013 10:17am