Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » ENVIRONMENT   (RSS)

Editing your Profile file

$hay has a new scripting blog at http://scriptolog.blogspot.com/ . His first blog entry Restart your engine - The PowerShell Way , talks about how he frequently edits his PowerShell profile file and then restarts his session. In his directions he says:
Posted by PowerShellTeam | 4 Comments
Filed under: ,

Windows PowerShell in Action

Well folks, at long last, my book is almost done :-) Before it goes out for print, you can get electronic copies through Manning's early access program: http://www.manning.com/payette/ The early access program is a chance for readers to provide feedback

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 | 17 Comments
Filed under: , ,

Cleaning up obsolete Windows PowerShell Aliases

Over the course of time, I've written a number of functions & cmdlets and then created aliases for those. Many of those where Ad Hoc and I've since thrown them away but I still have the aliases sticking around. Here is a quick and easy way to determine
Posted by PowerShellTeam | 1 Comments
Filed under:
 
Page view tracker