< Back

Enable-PSReadLineHistoryHelper

Sun Jan 19, 2020 5:33 pm

NAME Enable-PSReadLineHistoryHelper



SYNOPSIS

Enable the history browser, basic history search and history save.





SYNTAX

Enable-PSReadLineHistoryHelper [<CommonParameters>]





DESCRIPTION

On Windows PowerShell, use the F7 key to show a grid view with the last

commands. A command can be selected and inserted to the current cmdline

position.

With the up and down arrows, search the history by the currently typed

characters on the command line.

Sometimes you enter a command but realize you forgot to do something

else first. This binding will let you save that command in the history

so you can recall it, but it doesn't actually execute. It also clears

the line with RevertLine so the undo stack is reset - though redo will

still reconstruct the command line.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS

https://github.com/PowerShell/PSReadLin ... rofile.ps1