How to convert colored output of a console application (like MSBuild or PowerShell) into HTML format preserving colors? How to convert colored output of a console application (like MSBuild or PowerShell) into HTML format preserving colors? powershell powershell

How to convert colored output of a console application (like MSBuild or PowerShell) into HTML format preserving colors?


Powershell team blogged the script, which captures console screen buffer up to the current cursor position and returns it in HTML format.