<?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</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx</link><description>I talked about this before but a number of people have missed it so here it is under a better title. In V1, we had a problem which caused our assemblies to not get ngen'ed during installation. If you don't know what "ngen" is, don't worry - you don't</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8721130</link><pubDate>Fri, 11 Jul 2008 15:42:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721130</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8721532</link><pubDate>Fri, 11 Jul 2008 18:47:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721532</guid><dc:creator>martin.zugec</dc:creator><description>&lt;p&gt;Hi Jeffrey,&lt;/p&gt;
&lt;p&gt;I do this also whenever I install PowerShell... Just one (old) question though and I think this was already asked by Thomas Lee before:&lt;/p&gt;
&lt;p&gt;1.) ngening takes few seconds (maximum half minute)... WHY on earth you do ngening on background and not during installation????&lt;/p&gt;
&lt;p&gt;2.) You should update that script with IsInRole. If you run it in Vista, you get &amp;quot;Access denied&amp;quot; if PS is not elevated.&lt;/p&gt;
&lt;p&gt;3.) This is important one :) Is there any way to speed up PowerShell loading time on Terminal Services\Citrix??? I mean systems where people keep logging on and off all the time??? Are there any tricks how to pre-load .NET or do something similar? This is very important question for all people that would like to migrate vbscript\batch logon scripts to PowerShell.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8721593</link><pubDate>Fri, 11 Jul 2008 19:15:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721593</guid><dc:creator>Wolfgang</dc:creator><description>&lt;p&gt;First : I'm a complete noob&lt;/p&gt;
&lt;p&gt;I get : &amp;quot;You must have administrative credentials to perform this task.&amp;quot;&lt;/p&gt;
&lt;p&gt;How do I start powershell as root &lt;/p&gt;
&lt;p&gt;or is there something like sudo?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;wolf&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8721903</link><pubDate>Fri, 11 Jul 2008 22:26:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8721903</guid><dc:creator>Stuart Henderson</dc:creator><description>&lt;p&gt;An invaluable piece of information.&lt;/p&gt;
&lt;p&gt;This has reduced the startup time on all four of my regularly used PC's to &amp;quot;blink and it's there&amp;quot;.&lt;/p&gt;
&lt;p&gt;Powershell was worth waiting for anyway ;-)&lt;/p&gt;
&lt;p&gt;Stuart&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8725142</link><pubDate>Sun, 13 Jul 2008 00:03:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8725142</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;&amp;gt; How do I start powershell as root &lt;/p&gt;
&lt;p&gt;In Program groups, right click on the PowerShell item and &amp;quot;Run As Administrator&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;gt; 1.) ngening takes few seconds (maximum half minute)... WHY on earth you do ngening on background and not during installation????&lt;/p&gt;
&lt;p&gt;Bug.&lt;/p&gt;
&lt;p&gt;&amp;gt; Is there any way to speed up PowerShell loading time on Terminal Services\Citrix??? &lt;/p&gt;
&lt;p&gt;Ngen'ing is the trick.&lt;/p&gt;
&lt;p&gt;Jeffrey Snover [MSFT]&lt;/p&gt;
&lt;p&gt;Windows Management Partner Architect&lt;/p&gt;
&lt;p&gt;Visit the Windows PowerShell Team blog at: &amp;nbsp; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/PowerShell"&gt;http://blogs.msdn.com/PowerShell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visit the Windows PowerShell ScriptCenter at: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx"&gt;http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8725533</link><pubDate>Sun, 13 Jul 2008 02:28:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8725533</guid><dc:creator>Andrew Tearle</dc:creator><description>&lt;p&gt;It seems a little surreal that after so much time and energy is devoted to PowerShell in books, blogs, audio and video throughout 2007/2008; one should then discover such a fundamental suggestion from JS (of all people!). Surely there might be one place to find such tips - without wondering whether one had wandered the web enough to secure all relevant information ?&lt;/p&gt;
&lt;p&gt;Anyhoo - as ever, Many thanx to the PowerShell team - I can't recall such fun since the '80s.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Andy.&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8726397</link><pubDate>Sun, 13 Jul 2008 06:50:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8726397</guid><dc:creator>morganjc</dc:creator><description>&lt;p&gt;I did this when I fist installed ps v1 &amp;amp; completely forgot about it when I installed it on my new computer (was thinking it was slow, but it never clicked). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Very glad you reminded me, but isn't this the kind of bug you should realease a windows update to fix? &amp;nbsp;&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8731699</link><pubDate>Mon, 14 Jul 2008 19:22:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8731699</guid><dc:creator>Andrea Tedeschi</dc:creator><description>&lt;p&gt;This is a wonderful thing... Thank you.&lt;/p&gt;
&lt;p&gt;Linked at &lt;a rel="nofollow" target="_new" href="http://www.andreatedeschi.com/2008/07/speeding-up-powershell.html"&gt;http://www.andreatedeschi.com/2008/07/speeding-up-powershell.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8732054</link><pubDate>Mon, 14 Jul 2008 22:47:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732054</guid><dc:creator>Toby</dc:creator><description>&lt;p&gt;Yeah, Wow, I didn't use powershell if little tasks as it too long to load vs cmd, now no problems.&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8732387</link><pubDate>Tue, 15 Jul 2008 03:14:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732387</guid><dc:creator>DM</dc:creator><description>&lt;p&gt;Don't forget that on x64 systems, you need to use &amp;quot;Microsoft.NET\Framework64&amp;quot;&lt;/p&gt;</description></item><item><title>Installing Powershell on Win server 2008</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8768684</link><pubDate>Thu, 24 Jul 2008 07:31:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8768684</guid><dc:creator>Martin Feness</dc:creator><description>&lt;p&gt;I have installed a test server, Win 2008, Enterpirse edition, build 6001 SP1 and whatever I do, I cannot get Powershell installed. On my XP-system, no problem.&lt;/p&gt;
&lt;p&gt;Installation stops, saying there is not enough memory. It is 1,5 GB.&lt;/p&gt;
&lt;p&gt;Anyone who can help?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;</description></item><item><title>Weekend reading</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8770086</link><pubDate>Fri, 25 Jul 2008 00:05:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8770086</guid><dc:creator>subject: exchange</dc:creator><description>&lt;p&gt;Speeding Up PowerShell Startup MS08-039: Which users are vulnerable to the OWA XSS vulnerability? Reducing&lt;/p&gt;
</description></item><item><title>More on Update-GAC (speeding up PowerShell startup)</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8772730</link><pubDate>Fri, 25 Jul 2008 22:10:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8772730</guid><dc:creator>Michael's meanderings...</dc:creator><description>&lt;p&gt;Jeffrey Snover of Microsoft, PowerShell dude extraordinaire, recently reminded us of a way to Speed Up&lt;/p&gt;
</description></item><item><title>PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8776941</link><pubDate>Sun, 27 Jul 2008 03:24:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8776941</guid><dc:creator>Richard Siddaway's Blog</dc:creator><description>&lt;p&gt;If you think your PowerShell startup is slow, or even if you think it is OK, follow the instructions&lt;/p&gt;
</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#8785206</link><pubDate>Mon, 28 Jul 2008 21:37:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8785206</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;Martin,&lt;/p&gt;
&lt;p&gt;PowerShell 1.0 comes in-band with W2K8. You need to turn it on using the server manager UI.&lt;/p&gt;</description></item><item><title>re: Speeding Up PowerShell Startup</title><link>http://blogs.msdn.com/powershell/archive/2008/07/11/speeding-up-powershell-startup.aspx#9390368</link><pubDate>Mon, 02 Feb 2009 14:53:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9390368</guid><dc:creator>zenobia</dc:creator><description>&lt;p&gt;I have powershell v2 ctp3 installed on a windows 2k8 x64 machine. If I run a certain powershell script as Administrator...the execution time is less then 10 seconds...if I run the same script as LocalSystem ..the execution time is 30 minutes, I've run &amp;quot;ngen&amp;quot;..but there's not progress on it. Which can be the problem?&lt;/p&gt;
&lt;p&gt;P.S. I run powershell with -nologo and -noprofile&lt;/p&gt;</description></item></channel></rss>