title: How to explain not working "Tee-Object" when "Select-Object -First" occurs
body: <p>With the following code, <code>$t</code> equals <code>@(1,2)</code>.</p>
  
  <pre><code>$t = "before"
  1..2 | Tee-Object -Variable t
  </code></pre>
  
  <p>So why is it that the next code snippet has <code>$t</code> equal to <code>"before"</code> instead of <code>@(1)</code>*?</p>
  
  <pre><code>$t = "before"
  1..2 | Tee-Object -Variable t | Select-Object -First 1
  </code></pre>
  
  <p>I see the same result in Powershell version 5 and version 3.</p>