Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » FAQ » ENVIRONMENT   (RSS)

Setting the console title to be your current working directory

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)
Posted by PowerShellTeam | 2 Comments
Filed under: , ,

PSMDTAG:FAQ: What is $OFS

In my blog entry regarding Cascading Type Casts ( http://blogs.msdn.com/powershell/archive/2006/07/15/Cascading_Type_Casts.aspx ) there was an example: PS> [string][char[]][int[]][char[]]"PowerShell" P o w e r S h e l l And in a comment was a question
Posted by PowerShellTeam | 0 Comments
Filed under: ,

Perserving Command History Across Sessions

<Edited 7/2/2006 to add tags and Categories> Ben Winzenz didn't like the fact that Windows PowerShell did not maintain history lists between sessions ( http://winzenz.blogspot.com/2006/06/cool-mshpowershell-tidbit.html ) . We hear you Ben. Back
Posted by PowerShellTeam | 19 Comments
Filed under: , ,
 
Page view tracker