Autocompleting the Console Way

by Aug 7, 2009

There are many autocompletion tricks built into PowerShell, and you probably know that pressing TAB is always a good idea to save typing. There is another clever autocompletion mechanism built right into the console, though. Press F8 to walk your command history.

Hey, and where is the autocompletion part of this? F8 takes into account what you have already typed. So when you enter “d” and then press F8, each time you get another command from your history that actually starts with “d”. Once you get used to this, it is a pretty fast way to rerun commands you entered earlier.

Twitter This Tip! ReTweet this Tip!