my powershell script calls a third party console application which uses custom commands. I want powershell to try to run that console applications command but if an error is