Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Use PowerShell to Display Known Colors

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

Feedback usabilla icon