Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Use PowerShell to Display Known Colors

Summary: Boe Prox shows how to find all known colors on your computer. (image)  How can I use Windows PowerShell to find known colors on my computer and their hex representations? (image)  Use the Add-Type cmdlet as follows: Add-Type –assemblyName PresentationFramework [windows.media.colors] | Get-Member -static -Type Property...