Darrin Bishop

From the Workbench
posts - 101, comments - 16, trackbacks - 6

Speed up PowerShell Startup

I caught this little gem (Update-Gac.ps1) on the PowerShell Team blog while I was catching up on posts. This script will Ngen the PowerShell assemblies for a quicker start up. Ngen is a .NET utility that will create a native images that are stored in a cache which can be then used by the framework alleviating some of the JIT-ing at startup. I ran this script and noticed a big difference in the start up times. I will run this on all my machines. 

Print | posted on Tuesday, July 15, 2008 4:47 PM | Filed Under [ PowerShell ]

Comments have been closed on this topic.

Powered by: