Search notes:

PowerShell: command history

Tab Completion

Tab completion allows to complete a command from the history by entering a hash sign # followed by the text fragment that is to be searched in the history:
PS C:\> #invoke
If the # is followed by a number, the tabulator will insert the text of the command whose id corresponds to this number.

TODO

There are two histories:

See also

The default location of the file that stores the command history on Windows seems to be $env:APPDATA\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt
The PsReadLine options
The cmdLet noun history

Index