How do you change the foreground color of the VS Package Manager Console with PowerShell?

powershell, visual-studio, visual-studio-2013

Solution

Certain colors are customizable, but you can't use the standard `$host` properties. To customize VS powershell text colors, you can you Tools->Options->Environment->Font and Colors and modify the `Plain Text` option `Item foreground`. See example below...

However, there doesn't seem to be options anywhere to control the error/warning/debug/verbose/progress colors specifically as is typically supported with other powershell consoles.

Modify Powershell Management Console in Visual Studio

Problem

Using PowerShell, how do I change the foreground font color in the Visual Studio Package Manager Console? When an error occurs, the foreground color turns white, and the background turns red, so it seems possible to modify the color. I want to modify the color to highlight a certain status of my return results, so I need to be able to programmatically change the color with PowerShell. After I change the color and use it, I want to return the color to the default. (much like the existing error formatting works)

Original source