Suppressing Powershell Errors When Calling External Executables

Viewed 4097

I have a PowerShell script that is calling an external executable and I want to suppress any error that comes from it. How can this be achieved. With PowerShell cmdlets, I can use the standard -ErrorAction argument to SilentlyContinue, however this is an external executable:

someExe --argument
1 Answers
Related