Powershell 写入主机“”-可选

Powershell 写入主机“”-可选,powershell,powershell-2.0,Powershell,Powershell 2.0,是否有替代方法:在powershell中写入主机以返回托架?其他选项: write-host $host.UI.WriteLine() [console]::WriteLine() # this also in ISE v3.0 在字符串中: "Firts line`r`n`r`nThird Line" 其他选择: write-host $host.UI.WriteLine() [console]::WriteLine() # this also in ISE v3.

是否有替代方法:在powershell中写入主机以返回托架?

其他选项:

 write-host

 $host.UI.WriteLine()

 [console]::WriteLine() # this also  in ISE v3.0
在字符串中:

"Firts line`r`n`r`nThird Line"
其他选择:

 write-host

 $host.UI.WriteLine()

 [console]::WriteLine() # this also  in ISE v3.0
在字符串中:

"Firts line`r`n`r`nThird Line"
也许还有一个选择:

Write-Host "Line1"
"" #Line2
Write-Host "Line3"
也许还有一个选择:

Write-Host "Line1"
"" #Line2
Write-Host "Line3"