4

The default color of verbose output (e.g. Write-Verbose or -Verbose switch) in Powershell is yellow. This makes it look like warnings, although it's non-critical.

How can I change the default color of verbose output?

marsze
  • 15,079
  • 5
  • 45
  • 61

1 Answers1

2

This is possible hosing the $Host automatic variable.

In your $Profile add:

# set to any valid console color
$Host.PrivateData.VerboseForegroundColor = 'Cyan'
marsze
  • 15,079
  • 5
  • 45
  • 61