Why does catch not catch?

I ran into an interesting discussion with my customer today.  He was writing a code block that looked like the following: Try { Get-MailboxServer Bogus } Catch { “Mailbox server doesn’t exist” } Looking at the code, it’s very simple. Run a command in try block and if error is generated, report on it using…

0