21 March 2014

Change error messages text color

the error messages color can be changed using the following command:

$host.PrivateData.ErrorForegroundColor = 'green'

the change will be lost after closing the shell. in order to make this "permanent" you should put the command in the profile file.


No comments:

Post a Comment