The Expected Exceptionhttp://blogs.msdn.com/b/jolewkov/archive/2012/12/07/the-expected-exception.aspxJust wanted to write a quick post on the idea of a an "Expected Exception" that can sometimes arise in PowerShell. Take the code below, which simply checks to see if a given SPSite exists on a certain URL:
#Checks if Site Exists - return (true|falseen-USTelligent Evolution Platform Developer Build (Build: 5.6.50428.7875)