Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created August 30, 2019 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/27ac60e242f85354a1577f8bd985ebe3 to your computer and use it in GitHub Desktop.
Save PlagueHO/27ac60e242f85354a1577f8bd985ebe3 to your computer and use it in GitHub Desktop.
PowerShell example using a hash table in a PSD1 and null coalescing to map colour name to value (mapping data file)
@{
red = 0xFF0000
green = 0x00FF00
blue = 0x0000FF
white = 0xFFFFFF
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment