How do I output text without a newline in PowerShell?
powershell
Solution
Write-Host -NoNewline "Enabling feature XYZ......."
Problem
I want my PowerShell script to print something like this: ``` Enabling feature XYZ......Done ``` The script looks something like this: ``` Write-Output "Enabling feature XYZ......." Enable-SPFeature... Write-Output "Done" ``` But `Write-Output` always prints a new-line at the end so my output isn't on one line. Is there a way to do this?