![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | get-history -count defaults to 32 Is there a better way to look at *all* of the history when one doesn't know how many entries there are? This works: -------- $hist=get-history -count 1|foreach-object{$_.id} get-history -count $hist -------- Should there be a -count value for *all*? Maybe there's something more appropriate? Marco -- ---------------- PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
| | #3 (permalink) | ||||||||||||
| Guest | RE: get-history -count defaults to 32 Get-History -count $MaximumHistoryCount "Marco Shaw" wrote:
| ||||||||||||
| | #4 (permalink) | ||||||||||||
| Guest | RE: get-history -count defaults to 32 There's some interesting tips on the history buffer in this article http://mcpmag.com/columns/article.asp?editorialsid=2170 -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Marco Shaw" wrote:
| ||||||||||||
| | #5 (permalink) | ||||||||||||
| Guest | Re: get-history -count defaults to 32 "Marco Shaw" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:#VWkHQL8HHA.1900@xxxxxx
https://connect.microsoft.com/feedba...6418&SiteID=99 -- Keith | ||||||||||||
| | #6 (permalink) | ||||||||||||
| Guest | Re: get-history -count defaults to 32 Kiron wrote:
PSH> get-history Id CommandLine -- ----------- [snip] 88 write-host 89 $maximumhistorycount 90 write-host "test" 91 $maximumhistorycount 92 get-history PSH> $maximumhistorycount 64 That can't be right... -- ---------------- PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Save As defaults to internet history | swb_mct | Vista General | 1 | 01-13-2008 08:01 PM |
| Paint defaults | Novice | Vista performance & maintenance | 0 | 10-19-2007 09:59 AM |
| can you set anything but microsoft as defaults? | John | Vista General | 5 | 08-22-2007 11:32 PM |
| VPN defaults domain | David Lozzi | Vista networking & sharing | 2 | 02-06-2007 08:54 PM |
| Printer defaults to XPS | retired fire | Vista General | 1 | 12-12-2006 06:28 AM |