3 ms·
function color ($name) { $Host.UI.RawUI.ForegroundColor = $name } function sayhello { 'pardon me do you have any grey poupon?' } echo $(color yellow) $(sa
by Arnavion 11y 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).
- shadowfox 11y ago> 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/ https://poshconsole.codeplex.com/