System.Management.Automation.VTUtility has one overloaded method: GetEscapeSequence $inv = [System.Management.Automation.VTUtility]::GetEscapeSequence( [System.Management.Automation.VTUtility+VT]::Inverse) $rst = [System.Management.Automation.VTUtility]::GetEscapeSequence( [System.Management.Automation.VTUtility+VT]::Reset ) write-host "This is $($inv)highlighted$rst text"
PS C:\> $inv.GetType().FullName System.String