我使用此命令在控制台和文件中查看输出: powershell -command "my_command_1 | tee ('logs\{0}.log' -f (Get-Date -format 'yyyy.MM.dd-HH.mm'))" powershell ...
確定! 回上一頁