Is it possible to change the color of the Read-Host in PowerShell? I can easily change the color in Write-Host using "-foregroundcolor" but when tried to use "-foregroundcolor" with Read-Host, It's not worked and print the "-foregroundcolor" in the Read-Host message
For example, I need to show the EX: Praveen Kumar with a different color in Read-Host
$name = Read-Host "Please, type your Name, EX: Praveen Kumar"
Please, type your Name, EX: Praveen Kumar
Is there a workaround to use -foregroundcolor with Read-Host in PowerShell?