Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » SHELL   (RSS)

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: , ,

Use of Preference Variables to control behavior of streams

PSMDTAG:FAQ: Why don't I see output when I use Write-Verbose and Write-Debug? PSMDTAG:SHELL: Use of Preference Variables to control behavior of streams. In Windows PowerShell, the WRITE-XXX cmdlets merely sends things to a Named stream. You then have
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: , ,

The new TabExpansion feature...

One of the nicest new features in the latest drop of Windows PowerShell is enhanced tab-completion. We now tab-complete properties on variables and parameters on cmdlets in addition to the old filename completion. But that's not the interesting part.
Posted by PowerShellTeam | 12 Comments
Filed under: , ,

Comparative Examples in MSH and KSH

M ost shells (such as Windows CMD.EXE and the UNIX shells SH, KSH, CSH, and BASH) operate by executing a command or utility in a new process, and presenting the results (or errors) to the user as text. Text-based processing is the way in which system
Posted by PowerShellTeam | 46 Comments
Filed under: , ,
 
Page view tracker