In Powershell 2.0, I am starting a cmd.exe process in a new window using the following:
Start-Process cmd.exe "/k proc.cmd"
Is there a way to monitor and react to this process's standard output in realtime (e.g. executing a command when the process outputs "Completed") without hiding its console output?