Start script: powershell -ep bypass -file ./ProcessTree.ps1 Green color: Program has opened since start of script Red color: Program has closed since start of script Screenshot of program: