1

Is there an alternative to : Write-Host "" to return carriage in powershell?

4

2 に答える 2

4

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"
于 2012-12-09T20:40:21.837 に答える
0

Maybe also a option:

Write-Host "Line1"
"" #Line2
Write-Host "Line3"
于 2012-12-09T20:49:06.877 に答える