Freigeben über


PSReadLine Module

Das PSReadLine-Modul enthält Cmdlets, mit denen Sie die Befehlszeilenbearbeitungsumgebung in PowerShell anpassen können. PowerShell 7.1 wurde mit PSReadLine v2.1 ausgeliefert. In diesen Artikeln wird PSReadLine v2.1 dokumentiert.

Hinweis

Ab PowerShell 7.0 überspringt PowerShell das automatische Laden von PSReadLine unter Windows, wenn ein Bildschirmleseprogramm erkannt wird. Derzeit funktioniert PSReadLine nicht gut mit den Bildschirmleseprogrammen. Das standardmäßige Rendering und die Formatierung von PowerShell 7.0 unter Windows funktioniert ordnungsgemäß. Sie können das Modul bei Bedarf manuell laden.

PSReadLine-Cmdlets

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