Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there an alternative to : Write-Host "" to return carriage in powershell?
Other options:
write-host $host.UI.WriteLine() [console]::WriteLine() # this also in ISE v3.0
Inside a string:
"Firts line`r`n`r`nThird Line"
Maybe also a option:
Write-Host "Line1" "" #Line2 Write-Host "Line3"