Monday, March 19, 2012

PowerShell Error Colors

Like many of my posts, this falls in the category of neat, but I'm not sure very useful to anyone else. Today in my PowerShell class, students were finding it difficult to read the errors displayed by the projector. The room was fairly bright and read was difficult to read. To fix it, I changed the colors with the following code:

If you want to display all of the options that you can set, use the following code:

No comments:

Post a Comment