PSReadLine Module
El módulo PSReadLine contiene cmdlets que permiten personalizar el entorno de edición de línea de comandos en PowerShell.
Ha habido muchas actualizaciones de PSReadLine desde la versión que se incluye en Windows PowerShell 5.1.
- v2.3.5 se distribuye por primera vez en PowerShell 7.4.2 y 7.5.0-preview.3
- v2.3.4 se distribuye por primera vez en PowerShell 7.4.0-rc.1
- v2.2.6 se distribuyó por primera vez en PowerShell 7.3.0
- v2.1.0 se distribuye por primera vez en PowerShell 7.2.5
- v2.0.4 se distribuyó por primera vez en PowerShell 7.0.11
- v2.0.0 se incluye en Windows PowerShell 5.1
Para obtener más información sobre las diferencias de versión, consulte about_PSReadLine_Release_Notes.
En estos artículos se documenta la versión 2.0.0 de PSReadLine.
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. |