Speeding Up PowerShell Startup(blogs.msdn.com)

submitted by wisemxwisemx(8074) 3 years, 7 months ago

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 comment |category: |Views: 9

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by DippyDogDippyDog(15) 2 years, 8 months ago 0

He posted an update for the script at http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx
I love powershell!

Reply

information Login or create an account to comment on this story