PSReadLine
The PSReadLine module contains cmdlets that let you customize the command-line editing environment in PowerShell.
There have been many updates to PSReadLine since the version that ships in Windows PowerShell 5.1.
- v2.3.5 first shipped in PowerShell 7.4.2 and 7.5.0-preview.3
- v2.3.4 first shipped in PowerShell 7.4.0-rc.1
- v2.2.6 first shipped in PowerShell 7.3.0
- v2.1.0 first shipped in PowerShell 7.2.5
- v2.0.4 first shipped in PowerShell 7.0.11
- v2.0.0 ships in Windows PowerShell 5.1
For more information about version differences, see about_PSReadLine_Release_Notes.
These articles document version 2.0.0 of PSReadLine.
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. |