try catch powershell exit code