Thursday July 30th

Wednesday July 29th

2 Kicks

Speeding Up PowerShell Startup

I talked about this before but a number of people have missed it so here it is under a better title. In V1, we had a problem which caused our assemblies to not get ngen'ed during installation. If you don't know what "ngen" is, don't worry - you don't need to. All you need to know is that we didn't do the step that makes things go fast on your machine. The instructions for how to fix this are HERE. http://blogs.msdn.com/powershell/archive/2007/11/08/update-gac-ps1.aspx You should stop what you are doing and go run that script. If you've already done this in the past, it will be harmless but if you haven't, you'll be amazed at the improvement in startup times. Please tell all your friends to do this as well. A lot of people don't know about it and have a bad opinion about PowerShell startup times. After people run it, the typical reaction is, "WOW!". Cheers! Jeffrey Snover [MSFT] Windows Management Partner Architect

1 comments


Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network