Q quit on Start-Demo

If you construct a statement that eventually pipes the object output to out-host using the -paging switch such as:

get-service | get-member | out-host -paging

hitting Q bails you out entirely from the demo currently managed by Start-Demo.ps1*. The end result is that you will have to restart your demo but can use #n to jump to where you last left off.

* Improved Start-Demo Script (March 06, 2007)

See also: Start-Demo: Help doing demos using PowerShell (March 03, 2007) and Invoke-Expression (March 07, 2007)

No Comments »

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.