title: powershell: remove text from end of string
body: <p>--deleted earlier text - I asked the wrong question!</p>
  
  <p>ahem....</p>
  
  <p>What I have is <code>$var = "\\unknowntext1\alwaysSame\unknowntext2"</code></p>
  
  <p>I need to keep only <code>"\\unknowntext1"</code> </p>