Powershell Get Exception Type