PowerShell can already do something similar with the Tee-Object cmdlet. With that cmdlet you can tee output to a variable or a file.
確定! 回上一頁