powershell try catch find exception type