title: Powershell error handling: do something if NO error occured
body: <p>I've been searching around for this but can't seem to find it. 
  I'm having a script with a try {} catch {} statement. I'd like to add an action if NO error occured.</p>
  
  <p>Eg</p>
  
  <pre><code>try { something }
  catch { "Error occured" }
  if (!error) {
  "No Error Occured"
  }
  </code></pre>
  
  <p>How can I test if no error occured in the statement?</p>
  
  <p>Thanks in advance</p>
  
  <p>Walter</p>