PSReadLine
The PSReadLine module contains cmdlets that let you customize the command-line editing environment in PowerShell. These articles documents PSReadLine v2.0. This version ships in PowerShell v6 and the Windows 10 October 2018 Update (Build 1809).
Note
Beginning with PowerShell 7.0, PowerShell skips auto-loading PSReadLine on Windows if a screen reader program is detected. Currently, PSReadLine doesn't work well with the screen readers. The default rendering and formatting of PowerShell 7.0 on Windows works properly. You can manually load the module if necessary.
PSReadLine
Get-PSReadLineKeyHandler |
Gets the key bindings for the PSReadLine module. |
Get-PSReadLineOption |
Gets values for the options that can be configured. |
PSConsoleHostReadLine |
This function is the main entry point for PSReadLine. |
Remove-PSReadLineKeyHandler |
Removes a key binding. |
Set-PSReadLineKeyHandler |
Binds keys to user-defined or PSReadLine key handler functions. |
Set-PSReadLineOption |
Customizes the behavior of command line editing in PSReadLine. |