c a n d l a n d . n e t

Ngen the powershell dll’s for faster startup

Dusty Candland | |

In the Trenches » Some PowerShell scripts…: “Ngen the dlls and try it again. I think you’ll find it faster.

cd $pshome
dir *.dll | %{ ngen.exe $_.fullname}

If ngen is not in your path, use:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe

Jeffrey Snover
Windows PowerShell Architect”

Webmentions

These are webmentions via the IndieWeb and webmention.io. Mention this post from your site: