PSReadLine

PSReadLine 모듈에는 PowerShell에서 명령줄 편집 환경을 사용자 지정할 수 있는 cmdlet이 포함되어 있습니다.

Windows PowerShell 5.1에서 제공되는 버전 이후 PSReadLine에 대한 많은 업데이트가 있었습니다.

  • PowerShell 7.4.0은 PSReadLine 2.3.4와 함께 제공합니다.
  • PowerShell 7.3.0은 PSReadLine 2.2.6과 함께 제공합니다.
  • PowerShell 7.2.5는 PSReadLine 2.1.0과 함께 제공합니다.
  • PowerShell 7.0.11은 PSReadLine 2.0.4와 함께 제공합니다.
  • PowerShell 5.1은 PSReadLine 2.0.0과 함께 제공합니다.

이 문서에서는 PSReadLine 버전 2.3.4를 설명합니다.

참고 항목

PowerShell 7.0부터 PowerShell은 화면 판독기 프로그램이 검색된 경우 Windows에서 PSReadLine 자동 로드를 건너뜁니다. 현재 PSReadLine은 화면 읽기 프로그램에서 잘 작동하지 않습니다. Windows에서 PowerShell 7.0의 기본 렌더링 및 서식이 제대로 작동합니다. 필요한 경우 모듈을 수동으로 로드할 수 있습니다.

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.