Search notes:

Powershell module console: get-ansiEscapedText

get-ansiEscapedText creates text with ANSI escape sequences.
get-ansiEscapedText 'hello ' ([sgr]::fgRed) ([sgr]::bgGreenBright) ([sgr]::underline) 'world' ([sgr]::reset)

See also

This function is found in the PowerShell module console.

Index