约 231,000 个结果
在新选项卡中打开链接
  1. scripting - How to redirect the output of a PowerShell to a file during ...

    2015年7月11日 · I have a PowerShell script for which I would like to redirect the output to a file. The problem is that I cannot change the way this script is called. So I cannot do: .\\MyScript.ps1 > …

  2. Redirecting standard input\output in Windows PowerShell

    What is the required syntax to redirect standard input/output on Windows PowerShell? On Unix, we use: $./program <input.txt >output.txt How do I execute the same task in PowerShell?

  3. powershell - Redirection of standard and error output appending to …

    With start-transcript and stop-transcript you can redirect ALL output of PowerShell commands to a single file, but it doesn't work correctly with external commands.

  4. Redirect all output to a file in PowerShell - Stack Overflow

    2015年1月26日 · Start-Transcript adds a header and footer to the file so this doesn't really work if you want full control of the output.

  5. Changing PowerShell's default output encoding to UTF-8

    2016年10月18日 · By default, when you redirect the output of a command to a file or pipe it into something else in PowerShell, the encoding is UTF-16, which isn't useful. I'm looking to change it to …

  6. How to pipe all output of .exe execution in Powershell?

    The problem is some output is being sent to STDERR and redirection works differently in PowerShell than in CMD.EXE. How to redirect output of console program to a file in PowerShell has a good …

  7. powershell - Capturing standard out and error with Start-Process ...

    how to show the output in powershell window as well as log it to a log file? Is it possible?

  8. How can I redirect PowerShell output when run from Task Scheduler?

    2019年10月7日 · When running a simple PowerShell script from Task Scheduler, I would like to redirect the output to a file. There is a long thread about this very topic here, yet it's not clear if they reached …

  9. powershell Write-Output with >> to a file.txt -Append

    2020年3月5日 · I am creating a script and want to both use Write-Host and Write-Output As I work I want a backup of information I pull from AD to also become attached to a .txt file. This is more of a …

  10. powershell - Writing errors and output to a text file and Console ...

    2018年1月1日 · 33 I am trying to write the entire output (errors included) of an executing script to the console and a file at the same time. I have tried several different options: