<?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>How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx</link><description>UPDATED Feb-03-2009: Lee Holmes has posted an updated version of the script which does a much better job of HTML copy-pasting. It can also produce line numbers and has a number of other improvements. &amp;#160; In the previous article we demonstrated how</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9314634</link><pubDate>Tue, 13 Jan 2009 15:10:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9314634</guid><dc:creator>Aleksandar</dc:creator><description>&lt;p&gt;What's the purpose of $psise.CustomMenu.Submenus.Clear() in Copy-Script.ps1? It removes every entry from Custom menu in PowerShell ISE before adding &amp;quot;Copy Script&amp;quot;.&lt;/p&gt;</description></item><item><title>Dew Drop - January 13, 2009 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9315750</link><pubDate>Tue, 13 Jan 2009 19:17:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9315750</guid><dc:creator>Dew Drop - January 13, 2009 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.alvinashcraft.com/2009/01/13/dew-drop-january-13-2009/"&gt;http://www.alvinashcraft.com/2009/01/13/dew-drop-january-13-2009/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9316165</link><pubDate>Tue, 13 Jan 2009 20:25:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9316165</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;To Alexandar:&lt;/p&gt;
&lt;p&gt;My bad. I have put $psise.CustomMenu.Submenus.Clear() line when developing this script, to reset the menu &amp;nbsp;before each run. Now it is, of course, not necessary. I will update the script.&lt;/p&gt;
&lt;p&gt;Thanks for noticing this!&lt;/p&gt;
&lt;p&gt;Vladimir&lt;/p&gt;
</description></item><item><title>re: How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9317038</link><pubDate>Tue, 13 Jan 2009 23:31:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9317038</guid><dc:creator>T-Bone</dc:creator><description>&lt;p&gt;To Vladimir:&lt;/p&gt;
&lt;p&gt;Wow! You responded to my post with a solution in lightning speed! &amp;nbsp;You guys rock! &amp;nbsp;I've been a user/fan of PS since the V1 beta and I still believe that this is the most visionary product offered by Microsoft. &amp;nbsp;Keep up the good work and I'll keep turning my peers into fans...&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;T-Bone&lt;/p&gt;</description></item><item><title>Live Writer Problem</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9386408</link><pubDate>Sat, 31 Jan 2009 18:17:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9386408</guid><dc:creator>Richard Siddaway's blog (external)</dc:creator><description>&lt;p&gt;Just come across an odd problem with Live Writer. Experimenting with the copy-script function from http&lt;/p&gt;
</description></item><item><title>Live Writer Problem</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9386460</link><pubDate>Sat, 31 Jan 2009 18:50:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9386460</guid><dc:creator>Richard Siddaway's Blog</dc:creator><description>&lt;p&gt;Just come across an odd problem with Live Writer. Experimenting with the copy-script function from http&lt;/p&gt;
</description></item><item><title>FileTransfer</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9388228</link><pubDate>Sun, 01 Feb 2009 14:06:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9388228</guid><dc:creator>Richard Siddaway's Blog</dc:creator><description>&lt;p&gt;As someone who does a far amount of downloading of stuff – especially technical documents etc I was interested&lt;/p&gt;
</description></item><item><title>re: How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9389214</link><pubDate>Mon, 02 Feb 2009 06:07:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9389214</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;That happens with an older version of LiveWriter. When the script creates HTML for system clipboard, it does not add the special clipboard header which generally is required, but most application can do without it. Previous versions of LiveWriter were not supporting pasting HTML without proper clipboard header, but the new version does. Try to download the latest version of LiveWriter and the problem should go away.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vladimir Averkin&lt;/p&gt;
&lt;p&gt;Windows PowerShell team&lt;/p&gt;
</description></item><item><title>re: How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9579803</link><pubDate>Thu, 30 Apr 2009 14:42:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9579803</guid><dc:creator>Per Østergaard</dc:creator><description>&lt;p&gt;Great stuff, but Windows Live Writer fails when I try to paste special.&lt;/p&gt;
&lt;p&gt;If I fix these lines (save the html as unicode text on the clipboard), it works.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$dataObject = New-Object Windows.DataObject&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;#$dataObject.SetText([string]$text, [Windows.TextDataFormat]&amp;quot;UnicodeText&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$rtf = $rtfBuilder.ToString()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;#$dataObject.SetText([string]$rtf, [Windows.TextDataFormat]&amp;quot;Rtf&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$html = $htmlBuilder.ToString()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$dataObject.SetText([string]$html, [Windows.TextDataFormat]&amp;quot;UnicodeText&amp;quot;)&lt;/p&gt;</description></item><item><title>re: How to copy colorized script from PowerShell ISE</title><link>http://blogs.msdn.com/powershell/archive/2009/01/13/how-to-copy-colorized-script-from-powershell-ise.aspx#9579808</link><pubDate>Thu, 30 Apr 2009 14:43:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9579808</guid><dc:creator>Per Østergaard</dc:creator><description>&lt;p&gt;Maybe that last comment slipped away too fast - but according to my WLW version 14.0.8064.206 da, there are no newer versions.&lt;/p&gt;</description></item></channel></rss>