PSConsoleReadLineOptions.PromptText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is the text you want turned red on parse errors, but must occur immediately before the cursor when readline starts. If the prompt function is pure, this value can be inferred, e.g. the default prompt will use "> " for this value.
public string PromptText { get; set; }
member this.PromptText : string with get, set
Public Property PromptText As String