<?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>Setting  the console title to be your current working directory</title><link>http://blogs.msdn.com/powershell/archive/2006/07/21/Setting--the-console-title-to-be-your-current-working-directory.aspx</link><description>jmanning wrote: Also, given how common the request is, I'd ask Jeffrey to (pretty-please) also include in this post a prompt function that sets the title to include pwd. Ask and yea shall receive: function Prompt { $host.ui.RawUI.WindowTitle = $(get-location)</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Customizing Windows Powershell &amp;laquo; shortcircuited</title><link>http://blogs.msdn.com/powershell/archive/2006/07/21/Setting--the-console-title-to-be-your-current-working-directory.aspx#870293</link><pubDate>Wed, 25 Oct 2006 00:33:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:870293</guid><dc:creator>Customizing Windows Powershell « shortcircuited</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://shortcircuited.wordpress.com/2006/10/24/customizing-windows-powershell/"&gt;http://shortcircuited.wordpress.com/2006/10/24/customizing-windows-powershell/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Setting  the console title to be your current working directory</title><link>http://blogs.msdn.com/powershell/archive/2006/07/21/Setting--the-console-title-to-be-your-current-working-directory.aspx#889886</link><pubDate>Sat, 28 Oct 2006 20:07:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:889886</guid><dc:creator>Fred Jacobowitz</dc:creator><description>&lt;p&gt;I understand what the function is doing but I dont understand why when I put it in my profile the function executes automatically? &amp;nbsp;Is &amp;quot;prompt&amp;quot; called automatically by MSH?&lt;/p&gt;
&lt;p&gt;Secondly, how does &amp;quot;PS &amp;gt;&amp;quot; set the prompt? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Fred Jacobowitz&lt;/p&gt;</description></item></channel></rss>