<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Draw Boxes and Lines in the Windows PowerShell Console Host</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/19/draw-boxes-and-lines-in-the-windows-powershell-console-host.aspx</link><description>Summary : Microsoft MVP Sean Kearney shows how to draw boxes and lines in the Windows PowerShell console while scripting three reusable functions. 
 
 Microsoft Scripting Guy Ed Wilson here. Just when I thought it was safe to open my email, I get a</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Draw Boxes and Lines in the Windows PowerShell Console Host</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/19/draw-boxes-and-lines-in-the-windows-powershell-console-host.aspx#3356657</link><pubDate>Mon, 20 Sep 2010 19:20:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3356657</guid><dc:creator>Sean Kearney</dc:creator><description>&lt;p&gt;Joel&lt;/p&gt;
&lt;p&gt;I was feeling &amp;quot;Really Retro&amp;quot; that day :)&lt;/p&gt;
&lt;p&gt;I wanted &amp;quot;Pure Ascii&amp;quot; not that polluted stuff :P&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3356657" width="1" height="1"&gt;</description></item><item><title>re: Draw Boxes and Lines in the Windows PowerShell Console Host</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/19/draw-boxes-and-lines-in-the-windows-powershell-console-host.aspx#3356469</link><pubDate>Mon, 20 Sep 2010 06:41:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3356469</guid><dc:creator>Joel "Jaykul" Bennett</dc:creator><description>&lt;p&gt;Aww.... don&amp;#39;t draw boxes with alphanumeric characters when you&amp;#39;ve got the whole ANSI/ASCII character set, Sean! :) That&amp;#39;s what box characters are made for! Imagine how you&amp;#39;d feel if we tried to make PowerShell songs without you! ;-)&lt;/p&gt;
&lt;p&gt;(fye: unicode characters in the range 9472..9575)&lt;/p&gt;
&lt;p&gt;On another note, for stuff like drawing boxes, you should at least consider the advanced $Host.UI.RawUI.SetBufferContents and GetBufferContents ... check out &lt;a rel="nofollow" target="_new" href="http://poshcode.org/2238"&gt;http://poshcode.org/2238&lt;/a&gt; for some a couple scenarios involving boxes with text inside them and inline scrolling/prompting (I just posted it, but it&amp;#39;s just an improvement over an old script that was up there).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3356469" width="1" height="1"&gt;</description></item></channel></rss>