I’m trying to get a list of the default syntax colouring for PowerShell ISE. I’d like to try and match my text editor to the same colour scheme. I would imagine this is stored in an XML file somewhere. Does any one know the location of said file.
Open the ISE, and type $host.PrivateData.TokenColors in the console window. This is a hashtable of token type names to [System.Windows.Media.Color] objects, which you can read (and even modify, if you want.)
Thanks Dave, just what I was looking for