Over the years, there has been a lot of debate around the PowerShell Write Host cmdlet on whether it’s needed and when to use it. As in most cases, the answer is maybe and dependent on your needs.
Write-Hostand when to use it, let’s quickly explore the history of
Write-Hostand learn how best to use this useful cmdlet.
Read on to learn more.