title: Exclude Agent from Azure Devops using YML
body: <p>I'm trying to determine if there's a way to exclude a specific agent using an azure devops yml file. I know I can specify that it uses a specific agent like this</p>
  <pre><code>pool:
    name: MyPool
    demands:
    - agent.os -equals Darwin
  </code></pre>
  <p>But I'm pretty much looking for the inverse, is there a way to effectively do something like this:</p>
  <pre><code>  - agent.os -not-equals Darwin
  </code></pre>
  <p>So as to say use anything except the agent Darwin. Is there a way to achieve something like this?</p>