Share via


PSConsoleHostReadLine

This function is the main entry point for PSReadLine.

Syntax

PSConsoleHostReadLine

Description

PSConsoleHostReadLine is the main entry point for the PSReadLine module. The PowerShell console host automatically loads the PSReadLine modules and calls this function. Under normal operating conditions, this function is not intended to be used from the command line.

If you wanted to create your own custom ReadLine function, you could replace this function with your own implementation.

Examples

Example 1

This function is not intended to be used from the command line.

Inputs

None

Outputs

None