December 19th, 2013

PowerTip: Use PowerShell to Discover Console Colors

Doctor Scripto
Scripter

Summary:  Use Windows PowerShell to discover console color assignment.

Hey, Scripting Guy! Question How can I see what colors are assigned in the Windows PowerShell console?

Hey, Scripting Guy! Answer Use the Get-Host cmdlet and expand the PrivateData property:

(get-host).privatedata

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback