diff --git a/reference/6/PSReadLine/Set-PSReadlineOption.md b/reference/6/PSReadLine/Set-PSReadlineOption.md index a49ff70efebd..510af6002610 100644 --- a/reference/6/PSReadLine/Set-PSReadlineOption.md +++ b/reference/6/PSReadLine/Set-PSReadlineOption.md @@ -91,6 +91,24 @@ $PSReadLineOptions = @{ Set-PSReadLineOption @PSReadLineOptions ``` +### Example 4: Set multiple color options + +This example shows how to set more than one color value in a single command. + +```powershell +Set-PSReadLineOption -colors @{ + Command = 'DarkYellow' + Number = 'DarkGray' + Member = 'DarkGray' + Operator = 'DarkGray' + Type = 'DarkGray' + Variable = 'DarkGreen' + Parameter = 'DarkGreen' + ContinuationPrompt = 'DarkGray' + Default = 'DarkGray' +} +``` + ## PARAMETERS ### -AddToHistoryHandler