Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Exchange Powershell thru ASP Management Slowness

$
0
0

Hello,

I have an ASP application that utilizes the Powershell for Exchange snappins to perform various functions, such as mailbox quota limit increases and submitting new mailbox export requests.  The website and functionality works perfectly with no errors, however, my only gripe is that when I first try to perform any action utilizing Powershell for Exchange, it can take up to a minute or so for the process to complete (due to initializing the remote management of Exchange for the runspace I assume).  For a while after that, anything I do is much quicker to respond even if it is the same command again going from requiring a minute or more to complete to only seconds.

I have tried searching to see if there is a way to preload the Exchange Powershell runspaces for use when the website is started/recycled but cannot find anything.  Is there a way to do this and then when a user performs an action it can draw from a"pool" of runspaces or is there some other way I can speed this up?  Or maybe there is something I can do on the server hosting the website that would speed up the process of initializing the runspace?

I have been searching for a while on this problem and just cannot find anything to help me speed up those first requests, so any help is greatly appreciated!

Thanks,

Ron


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>