Types/Escape.Sequence/underline.ps1

<#
.SYNOPSIS
    Underline Escape Sequence
.DESCRIPTION
    Escape Sequence for underline
.LINK
    https://en.wikipedia.org/wiki/ANSI_escape_code
#>

param()

$e = [char]27
"$e[4m"