Quantcast
Channel: Windows 7 Library » Technet
Viewing all articles
Browse latest Browse all 6

A Blazing Fast PowerShell Console

$
0
0

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
)[0].fullName
[appdomain]::currentdomain.getassemblies() | %{ngen $_.location}


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images