title: Powershell: How can I stop errors from being displayed in a script?
body: <p>When my PowerShell script tries, for example, to create a SQL Server object for a server that doesn't exist ("bla" in my case), PowerShell displays lots of PowerShell errors in red.</p>
  
  <p>Since my script checks the value of <code>$?</code> after such calls, and displays and logs errors, I'd rather not have the several lines of PowerShell errors displayed as well.</p>
  
  <p>How can I deactivate those being displayed for my script?</p>