<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx</link><description>Have I ever mentioned how much I love the community? Today Kirill Osenkov posted a comment on the blog pointing out that there was an API to get the .NET Framework install path: RuntimeEnvironment.GetRuntimeDirectory() . I didn' t know that and now I</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Episode 40 - Poshboard part duex &amp;laquo; PowerScripting Podcast</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#8931926</link><pubDate>Mon, 08 Sep 2008 06:12:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8931926</guid><dc:creator>Episode 40 - Poshboard part duex &amp;laquo; PowerScripting Podcast</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://powerscripting.wordpress.com/2008/09/07/episode-40-poshboard-part-duex/"&gt;http://powerscripting.wordpress.com/2008/09/07/episode-40-poshboard-part-duex/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#8935912</link><pubDate>Tue, 09 Sep 2008 08:52:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8935912</guid><dc:creator>josh einstein</dc:creator><description>&lt;p&gt;you're a masochist :)&lt;/p&gt;
&lt;p&gt;[object].assembly.location&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#8935924</link><pubDate>Tue, 09 Sep 2008 08:58:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8935924</guid><dc:creator>josh einstein</dc:creator><description>&lt;p&gt;oh and also gac does not imply ngen. An assembly can be gac'd but have no native image (or it could be invalid) in which case jit still occurs. Of course ngen without gac usually is worse than jit so maybe you should only ngen gac assemblies and always re-ngen them since ngen is smart enough to know if an image is up to date.&lt;/p&gt;
&lt;p&gt;I'd type my version but I'm on my stupid iPhone. &amp;nbsp; &lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9057170</link><pubDate>Mon, 10 Nov 2008 13:39:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9057170</guid><dc:creator>BrAtKo</dc:creator><description>&lt;p&gt;Hello I've run this script on Windows 2008 x64 with Exchange 2007 SP1 and it have not effect to speed up the exchange powershell starting. Sorry.&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9058366</link><pubDate>Mon, 10 Nov 2008 21:02:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9058366</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I'm getting a ton of errors indicating assemblies that can not be found... this isn't expected is it?&lt;/p&gt;</description></item><item><title>Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9175752</link><pubDate>Thu, 04 Dec 2008 19:55:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9175752</guid><dc:creator>Windows PowerShell Blog</dc:creator><description>&lt;p&gt;Below is the content of the Update-GAC.ps1 script that I run whenever I install a new version of PowerShell.&lt;/p&gt;
</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9181398</link><pubDate>Sat, 06 Dec 2008 21:34:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9181398</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;how do you un-do the power shell change?&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9187876</link><pubDate>Wed, 10 Dec 2008 00:18:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9187876</guid><dc:creator>Ronto</dc:creator><description>&lt;p&gt;Similar to Chris' comment earlier... we accidently ran this script while in Exchange Management Shell rather than just in PowerShell. &amp;nbsp;We saw errors similar to this:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WRN: Assembly binding logging is turned OFF.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To enable assembly bind failure logging, set the registry value [HKLM\So&lt;/p&gt;
&lt;p&gt;ftware&lt;/p&gt;
&lt;p&gt;\Microsoft\Fusion!EnableLog] (DWORD) to 1.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Note: There is some performance penalty associated with assembly bind fa&lt;/p&gt;
&lt;p&gt;ilure&lt;/p&gt;
&lt;p&gt;logging.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To turn this feature off, remove the registry value [HKLM\Software\Micro&lt;/p&gt;
&lt;p&gt;soft\F&lt;/p&gt;
&lt;p&gt;usion!EnableLog].&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while resolving 0x100005c - Microsoft.Exchange.Common.IL.FilterDelegate&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Warning: System.IO.FileNotFoundException: Could not load file or assembl&lt;/p&gt;
&lt;p&gt;y 'Mic&lt;/p&gt;
&lt;p&gt;rosoft.Exchange.Common.IL, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31b&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9251617</link><pubDate>Wed, 24 Dec 2008 12:18:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9251617</guid><dc:creator>James G.</dc:creator><description>&lt;p&gt;You state this is fixed in V2, but when I installed V2 CTP3, it had the same slow start bug, until I ran this script. This really needs to be fixed.&lt;/p&gt;</description></item><item><title>SMUG Presentation February 3rd 2009: Administrative uses of Powershell in OpsMgr 2007</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9398460</link><pubDate>Thu, 05 Feb 2009 16:33:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9398460</guid><dc:creator>Scott Moss at myITforum.com</dc:creator><description>&lt;p&gt;The following are examples I demonstrated to show how easy and powerful PowerShell is to use with Operations&lt;/p&gt;
</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9602608</link><pubDate>Mon, 11 May 2009 15:33:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9602608</guid><dc:creator>Steven</dc:creator><description>&lt;p&gt;I ran both versions of this script under the EMS and regular powershell. &amp;nbsp;It didn't resolve the EMS start-up problem or the EMC start-up problem. &amp;nbsp;It is taking over a minute to load each one. &amp;nbsp;In fact the EMC often times out when &amp;quot;expanding&amp;quot;. &amp;nbsp;It's a real handicap, and additional advice would be appreciated.&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup - Updating Update-Gac.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx#9608720</link><pubDate>Wed, 13 May 2009 05:19:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9608720</guid><dc:creator>MarkMitchell</dc:creator><description>&lt;p&gt;On my machine I ran this and the script got an error - due to-- after the sort, the first item going into the Split-Path --was null.&lt;/p&gt;
&lt;p&gt;add the following&lt;/p&gt;
&lt;p&gt;if ($_.location){&lt;/p&gt;
&lt;p&gt;##only if there is a location code executes&lt;/p&gt;
&lt;p&gt;## within the foreach(%) after the sort&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item></channel></rss>