is there a way to update the current line of the command output in powershell?
i know how to write to the same line:
Write-Host "hello " -NoNewLine
Write-Host "world!" -NoNewLine
but is there a way to complete replace the current line? something like:
Write-Host "hello "
Write-Host "world!" -ReplaceLine
thanks in advance!
SOLUTION:
Write-Host "hello " -NoNewLine
Write-Host "`rworld!"