Hacker News new | ask | show | jobs
by Arnavion 3883 days ago

   function color ($name) { $Host.UI.RawUI.ForegroundColor = $name }
   function sayhello { 'pardon me do you have any grey poupon?' }
   echo $(color yellow) $(sayhello)
The other stuff (bold, pictures) requires host support (more than regular powershell.exe provides).
1 comments

> The other stuff (bold, pictures) requires host support (more than regular powershell.exe provides).

PoshConsole made a nice stab at it. Sadly it is no longer developed, I think.

Simple unicode characters (the smilies etc as used in OP) does work in powershell ISE.

[1] https://poshconsole.codeplex.com/