title: Split a string with powershell to get the first and last element
body: <p>If you do: git describe --long</p>
  
  <p>you get: <code>0.3.1-15-g3b885c5</code></p>
  
  <p>Thats the meaning of the above string:</p>
  
  <p>Tag-CommitDistance-CommitId (<a href="http://git-scm.com/docs/git-describe" rel="noreferrer">http://git-scm.com/docs/git-describe</a>)</p>
  
  <p>How would you split the string to get the first (Tag) and last (CommitId) element?</p>