Showing results for SHELL - PowerShell Team

Oct 11, 2006
Post comments count0
Post likes count0

Windows PowerShell in Action

PowerShell Team
PowerShell Team

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 on a book so the author can fix things.  As Jeffrey says - enjoy! -bruce =====...

DOCUMENTATIONLANGUAGESHELL
Jul 21, 2006
Post comments count0
Post likes count0

Setting the console title to be your current working directory

PowerShell Team
PowerShell Team

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)  "PS> "} If you want to see a bunch of great prompt examples, check out: h...

FAQSHELLENVIRONMENT
Jul 4, 2006
Post comments count0
Post likes count0

Use of Preference Variables to control behavior of streams

PowerShell Team
PowerShell Team

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 user-defined preferences for what to do when things appear on that stream.  Alex Angelopo...

FAQSHELL
Jul 1, 2006
Post comments count0
Post likes count0

Perserving Command History Across Sessions

PowerShell Team
PowerShell Team

<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 to my least favorite phrase, "to ship is to choose".  That said, we try t...

FAQSHELLENVIRONMENT
Apr 26, 2006
Post comments count0
Post likes count0

The new TabExpansion feature…

PowerShell Team
PowerShell Team

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. The cool bit is that it's done through a user-definable function. In the same way that you can rede...

FAQSHELL
Apr 25, 2006
Post comments count0
Post likes count0

Comparative Examples in MSH and KSH

PowerShell Team
PowerShell Team

  Most 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 interaction is done with these shells. Over the years, a large number of text processing uti...

FAQDOTNETSHELL