title: Take the last N elements of an array instead of first elements in PowerShell
body: <p>Quick question.  I have the following:</p>
  
  <pre><code>$domain = "my.new.domain.com"
  $domain.Split('.')[0,1]
  </code></pre>
  
  <p>...which returns the value:</p>
  
  <pre><code>my
  new
  </code></pre>
  
  <p>That's great except I need the LAST TWO (domain.com) and am unsure how to do that.  Unfortunately the number of splits is variable (e.g. test.my.new.domain.com).  How does one say "go to the end and count X splits backwards"?</p>