In the traditional try/catch block, you might have something that looks like this:
Try {
# some dodgy code
}
Catch [<exception 1>] {"exception 2"}
Catch [<exception 1>] {"exception 2"}
Two questions:
1. Where is the set of exceptions that PowerShell can handle documented?
2. Is there some magic incantation to display all the exceptions types in existance?