PowerShell | How to change the colour of the error message text Posted on February 23, 2021 By rich No Comments on PowerShell | How to change the colour of the error message text If you want to change the colour of the error text in PowerShell you can do it like this:$host.PrivateData.ErrorForegroundColor = 'Green'