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

PowerTip: Use PowerShell to Change Colors in PSReadline Module

$
0
0

Summary: Learn how to use Windows PowerShell access color options in the PSReadline module.

Hey, Scripting Guy! Question How can I use Windows PowerShell to alter the colors in the PSReadline module?

Hey, Scripting Guy! Answer Use the Set-PSReadlineOption cmdlet to alter pretty much any item.
           For example, to provide a white foreground for error messages, use:

Set-PSReadlineOption –ErrorForegroundColor White


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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