Share via


PowerTip: Use PowerShell to Discover Console Colors

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