Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Change PowerShell ISE Foreground Color

$
0
0

Summary: Programatically change the foreground color in the Windows PowerShell ISE.

Hey, Scripting Guy! Question How can I change the foreground color in the Windows PowerShell ISE?

Hey, Scripting Guy! Answer Use $Host.UI.RawUI.ForegroundColor and assign a new color. For example, to change it to cyan, use:

$Host.UI.RawUI.ForegroundColor = 'cyan'


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>