title: Read text after last backslash
body: <p>I am would like to read in the text after the last backslash from my text file.  Currently I have:</p>
  
  <pre><code>$data=Get-Content "C:\temp\users.txt"
  </code></pre>
  
  <p>The users.txt file contains path from users home directories </p>
  
  <pre><code>\\myserver.home.com\users\user1.test
  </code></pre>
  
  <p>How can I pick out the users account (user1.test) name at the end of the line of text so I can use it as a variable?</p>