Share via


PSReadline Module

The PSReadline module contains cmdlets that let you customize the command-line editing environment in PowerShell. These articles documents PSReadline v1.2. This version ships in PowerShell v5.1 and below.

PSReadline Cmdlets

Cmdlet Description
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.