About 78,000 results
Open links in new tab
  1. powershell - Redirection of standard and error output appending …

    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. So let's just redirect all the …

  2. about_Redirection - PowerShell | Microsoft Learn

    Jan 19, 2024 · Redirecting the output of a PowerShell command (cmdlet, function, script) using the redirection operator (>) is functionally equivalent to piping to Out-File with no extra …

  3. With the Start-Process command, is there any way to get the ... - Reddit

    Basically, you want to use Powershell's output streams, but Start-Process doesn't support them. The blog post I linked points to some script that wraps Start-Process in a way that sends the …

  4. PowerShell -RedirectStandardOutput Tutorial - ZetCode

    Feb 15, 2025 · This tutorial covers the PowerShell -RedirectStandardOutput parameter in depth. It explains how to capture and redirect standard output from processes. PowerShell processes …

  5. Redirect standard error to a variable in PowerShell

    Nov 8, 2018 · How should I best achieve standard error redirect to a variable in PowerShell given I would like to use it with dcdiag?

  6. PowerShell Start-Process [With Real-World Examples]

    May 26, 2025 · To capture the output of a process, I combine -RedirectStandardOutput with the -Wait parameter: This command runs ipconfig, saves its output to a text file, and waits for …

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

    Is there a bug in PowerShell's Start-Process command when accessing the StandardError and StandardOutput properties? If I run the following I get no output: But if I redirect the output to a …

  8. powershell - Output redirection fails when using Start-Process to ...

    Sep 5, 2019 · Start the new process in the current console window. By default PowerShell opens a new window. I have worked with Start-Process alone, using both -RedirectStandardOutput …

  9. Start-Process: allow redirecting std output/error to console stream ...

    Sep 3, 2022 · I am trying to start a process in a new window with Start-Process and i'm -waiting for its execution. Then i need to process its output. I would like to do it all in memory, without …

  10. PowerShell Documentation - PowerShell | Microsoft Learn

    Official product documentation for PowerShell. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Refresh