Browse by Tags

  • Blog Post: 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...
Page 1 of 1 (1 items)