是否有替代:Write-Host“”在powershell中返回运输?
答案 0 :(得分:4)
其他选择:
write-host
$host.UI.WriteLine()
[console]::WriteLine() # this also in ISE v3.0
在字符串中:
"Firts line`r`n`r`nThird Line"
答案 1 :(得分:0)
也许还有一个选择:
Write-Host "Line1"
"" #Line2
Write-Host "Line3"