A Blazing Fast PowerShell Console

The faster things become – the faster we want things to become.

For example – PowerShell. On my machine, it takes about 5-6 seconds to be fully functional. Because I link PowerShell scripts into certain MMCs, starting PowerShell quickly is very important to me!

I found this script on TechNet that greatly improves the PowerShell start time. My consoles now start in 1-2 seconds! A big deal to me!

Here is the script:

Set-Alias ngen @(
dir (join-path ${env:\windir} “Microsoft.NET\Framework”) ngen.exe -recurse |
sort -descending lastwritetime
[appdomain]::currentdomain.getassemblies() | %{ngen $_.location}