PowerTip: Use PowerShell to Discover Console Colors

PowerTip: Use PowerShell to Discover Console Colors

  • Comments 3
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Good Tip