<?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>Changing the Fonts Used by the Windows PowerShell ISE</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/08/22/changing-the-fonts-used-by-the-windows-powershell-ise.aspx</link><description>Summary : See how to change the fonts used by the Windows PowerShell ISE in the Script pane and Output pane. 
 
 Microsoft Scripting Guy Ed Wilson here. The summer is rapidly drawing to a close, although the summer heat and humidity will more than likely</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Changing the Fonts Used by the Windows PowerShell ISE</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/08/22/changing-the-fonts-used-by-the-windows-powershell-ise.aspx#3351857</link><pubDate>Wed, 25 Aug 2010 16:06:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3351857</guid><dc:creator>ScriptingGuy1</dc:creator><description>&lt;p&gt;Tome, You are correct, thanks for pointing that out. What a great addition. Thanks. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3351857" width="1" height="1"&gt;</description></item><item><title>re: Changing the Fonts Used by the Windows PowerShell ISE</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/08/22/changing-the-fonts-used-by-the-windows-powershell-ise.aspx#3351244</link><pubDate>Sun, 22 Aug 2010 15:28:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3351244</guid><dc:creator>Tome Tanasovski</dc:creator><description>&lt;p&gt;-Unique on the select makes it unbearably slow. &amp;nbsp;Because the duplicates are all returned one after another it would be better to just do a quick check to see if the current font was the last font i.e.&lt;/p&gt;
&lt;p&gt;$lastfont = $psISE.Options.FontName&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;[windows.media.fonts]::systemTypeFaces |Select-Object -Property fontFamily |ForEach-Object { &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($_.fontFamily.source -ne $psISE.Options.FontName) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$_.fontFamily.source &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$psISE.Options.FontName = $_.fontFamily.source &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$psISE.Options.FontSize = $fontSize &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Start-Sleep -Milliseconds $millisecs &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;} &lt;/p&gt;
&lt;p&gt;btw, I made the above by accident. &amp;nbsp;I intended on setting $lastfont in each iteration of the loop, but I missed it. &amp;nbsp;Somehow it still works. &amp;nbsp;Even though it doesn&amp;#39;t say it&amp;#39;s a ref it looks like $lastfont becomes a ref to $psISE.Options.Fontname.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3351244" width="1" height="1"&gt;</description></item></channel></rss>