Powershell stdout flush

pis*_*hio 12 powershell

如何在PowerShell中强制STDOUT刷新?我已尝试使用Console.Out.Flush(),但它似乎在等待一些争论.

谁能帮我?谢谢

Pau*_*and 16

在PowerShell中强制执行STDOUT刷新

 [Console]::Out.Flush() 
Run Code Online (Sandbox Code Playgroud)