How do I capture the output into a variable from an external process in PowerShell? How do I capture the output into a variable from an external process in PowerShell? powershell powershell