Anderson Patricio Blog RSS

All Blogs  »  Anderson Patricio Blog  »  get-news  »  Blog article: Overhauling the PowerShell startup process

Overhauling the PowerShell startup process

An interesting post was blogged in the PowerShell Team Blog (https://blogs.msdn.com) and they explained that running the script below you can increase the speed to open your PowerShell Console, as follows:

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

Read more at source: http://blogs.msdn.com/powershell/default.aspx

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 6 chars within 0..9 and A..F, and submit the form.

  

If CAPTCHA image is missing or you cannot read the characters above, please generate a




Receive all the latest articles by email!

Receive Real-Time & Monthly MSExchange.org article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become an MSExchange.org member!

Discuss your Exchange Server issues with thousands of other Exchange experts. Click here to join!

Solution Center