PowerShell Team

Automating the world one-liner at a time…

Colorized capture of console screen in HTML and RTF.

In the previous post we demonstrated how we can use console host API to capture screen buffer contents as text. But what if we want some colors. Would not it be nice to publish colorized copy of console in HTML or insert it as part of Microsoft Word document. For this to work we need to add some modifications to original script. Colors of each...