title: What are the PowerShell equivalents of Bash's && and || operators?
body: <p>In Bash I can easily do something like</p>
  
  <pre><code>command1 &amp;&amp; command2 || command3
  </code></pre>
  
  <p>which means to run command1 and if command1 succeeds to run command2 and if command1 fails to run command3.</p>
  
  <p>What's the equivalent in PowerShell?</p>