title: Best way to check if an PowerShell Object exist?
body: <p>I am looking for the best way to check if a Com Object exists.</p>
  
  <p>Here is the code that I have; I'd like to improve the last line:</p>
  
  <pre><code>$ie = New-Object -ComObject InternetExplorer.Application
  $ie.Navigate("http://www.stackoverflow.com")
  $ie.Visible = $true
  
  $ie -ne $null #Are there better options?
  </code></pre>