Powershell Get Process Exit Code