Exchange Management Shell run as a service? or speed up launch?
Hello, On a (non-production, not in use) Exchange 2010 Mailbox server with 3GB free memory, why does it take 2 minutes to launch Exchange Management Shell? If I want to automate some process that is spauned by some other event, how can I do this in some timely fashion without having to wait so long? I understand (and like) the remote powershell, but really... 2minutes? Perhaps, if I know that I'll only need command x & Y, can I limit the download? How can I either speed this up, or have remote Exchange management shell running as a service, and issue commands to the already active connection? Any help on this would be greatly appreciated. --Gene
July 14th, 2011 5:01pm

I've seen a few instances where changing the number of recipients can increase the response. An example here: http://www.petri.co.il/forums/showthread.php?t=27364 This URL shows you how to change those via EMC: http://www.ntweekly.com/?p=
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2011 2:55am

Yes also EMC takes a while to open up. I normally keep EMS and EMC both open. ( You can either disconnect or keeping it running)
July 15th, 2011 3:11am

Hi, Have a look at the article below: Speeding Up PowerShell Startup - Updating Update-Gac.ps1 http://blogs.msdn.com/b/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx Xiu
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2011 4:37am

xiu, the update gac doesn't do anything in this situation, It's the remoting part that is slow. I have several systems and using a control, the update gac didn't do anything. I think that's just a general PowerShell thing and not specific to Exchange 2010 Also, Kris, that change would speed up commands, but my issue isn't the running of the commands, it is the execution of the Management Shell to begin with. If I have a process that automates the creation of mailboxes and I have to do 30 of them, I don't want it to have to take an extra hour to do that, nevermind the 40 seconds it takes to disable & enable the user. Thanks for responding, --Gene
July 15th, 2011 9:11am

Hi, Rather than launch the Exchange Management Shell, I'm going to launch a vanilla PowerShell and use the new-PSSession/import-Session which is much faster. Thanks everyone. --Gene
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2011 9:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics