PowerTip: Use PowerShell to Discover Console Colors

Doctor Scripto

Dr Scripto

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

0 comments

Comments are closed.