# Exchange 2013 – Exchange Management Shell (EMS) loading very slow

Troubleshoot slow Exchange Management Shell startup on Exchange 2013 by checking DNS, connectivity, and common PowerShell session bottlenecks.

blog

22 Oct 2015 en

![Exchange 2013 – Exchange Management Shell (EMS) loading very slow](/wp-content/uploads/2015/09/MicrosoftExchangeLogo.png)

[View images (3)](#pf-content-image-1-0)

As you grow more experienced with **Exchange** (**2007** / **2010** / **2013** or **2016**) you get to the point where you actually have to start using **PowerShell** more often. While most of the things can be done from **Exchange Management Console** or **Exchange Control Pane**l in later versions doing stuff manually starts being boring so you want to automated things here and there. During our work** with Exchange Management Shell** at some point we've noticed that it takes a lot of time to actually load the modules. And by a lot of time we mean 5 minutes or more. It was very surprising as the server wasn't overloaded or didn't even had that many users.

### ❗ Problem Description

During starting up of the **Exchange Management Shell** you get an information that informs you some modules are getting loaded.

> Creating implicit remoting module … Getting formatting and output information from remote session … objects received

To finally reach the expected EMS console

[!\[Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-LoadingProcess4\](/wp-content/uploads/2015/10/Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-LoadingProcess4.png)](/wp-content/uploads/2015/10/Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-LoadingProcess4.png)

Most of the admins will actually see this command loading window but it takes about 1-5 seconds to load at max. So we were quite surprised to see 5 minutes or even 11 minutes at one time.

[!\[Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-LoadingProcess1\](/wp-content/uploads/2015/10/Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-LoadingProcess1.png)](/wp-content/uploads/2015/10/Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-LoadingProcess1.png)

As you can imagine the frustration when you want to quickly do something and you have to wait for 10 minutes for EMS to start get on your nerves pretty quickly. We've researched many solutions to finally come to one that actually is as surprising as it can get.

### 💡 Solution

It seems the culprit of this is the setting of large buffer for the width of the **Exchange Management Shell** window! Our settings are extremely high to cover a large buffer and not loose any data in the output.

[!\[Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-Powershell-Window-Size\](/wp-content/uploads/2015/10/Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-Powershell-Window-Size.png)](/wp-content/uploads/2015/10/Exchange-2013-Slow-Loading-Exchange-PowerShell-Modules-Powershell-Window-Size.png)

As surprising it gets if you lower it to normal values (like **120**) it start working as expected. Surprise, Surprise!

### 📝 Notes

It's still unclear why expanding the buffer to higher limits would cause such long delay on the loading of **PowerShell EMS** console, but fortunately we know how to **workaround** it for now.

## Related Projects

Projects that align with this post's tags, categories, and content.

[All projects](/projects/)

Matching projects...

[Back to Blog](/blog)

## Related posts

- [Microsoft Exchange Approval Assistant – Your message couldn’t be delivered because delivery to this address is restricted to authenticated senders](/blog/microsoft-exchange-approval-assistant-your-message-couldnt-be-delivered-because-delivery-to-this-address-is-restricted-to-authenticated-senders/)
- [Microsoft Exchange – OU picker is empty when creating new user](/blog/microsoft-exchange-ou-picker-empty-creating-new-user/)
- [PowerShell – How to find users without default quota set on Microsoft Exchange](/blog/powershell-how-to-find-users-without-default-quota-set-on-microsoft-exchange/)

<!-- PowerForge markdown artifact sha256:48C93253402DF199530400037C78429187B73C980B3F1646816DFE86CAA922B1 -->
