PowerTip: Write PowerShell Output in Color Without Using Write-Host
Summary: Write colorized output to the Windows PowerShell console without using the Write-Host cmdlet. How can you write output to the Windows PowerShell console without using the Write-Host cmdlet? Set ForegroundColor to a different color by using $host.Ui.RawUi, and then use the Write-Output&nbs...