powershell try catch get exception type