Write-Host has had a bad press over the years culminating in the infamous saying “if you use Write-Host a puppy will die” or words to that effect.
So what’s the fuss about?
Let’s take some code
Write-Host -Object "starting"
function t1 {
Write… Read the full text.