Speeding up PowerShell startup

Jeffrey Snover [MSFT] has updated his Update-Gac script and yes it speeds up the start of the PowerShell console:

  • Before running ‘update-Gac.ps1’
  • Measure-Command {Start-Process powershell} | Select TotalSeconds
    
    TotalSeconds
    ------------
       0,0626292
    
  • After running ‘update-Gac.ps1’
  • Measure-Command {Start-Process powershell} | Select TotalSeconds
    
    TotalSeconds
    ------------
       0,0193757
    

 
Here’s the link of the original article:
http://blogs.msdn.com/b/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top