Summary: Programatically change the foreground color in the Windows PowerShell ISE.
How can I change the foreground color in the Windows PowerShell ISE?
Use $Host.UI.RawUI.ForegroundColor and assign a new color. For example, to change it to cyan, use:
$Host.UI.RawUI.ForegroundColor = ‘cyan’
0 comments