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

Scroll to Top