title: changing windows path to unix path
body: <p>I have a script which defines a variable $winpath with value "X:\data\tables\". This path value cannot be changed as it used by another function, but is it possible to translate/convert this value into a unix way (using some delimiters or any other methods?) and store in another variable? i.e /x/data/tables</p>
  
  <pre><code>$server = 10.1.1.1
  $user = jason
  $winpath = X:\data\tables\
  Write-Output $user + '@' + $server + ':' + $winpath
  </code></pre>
  
  <p>Desired output-</p>
  
  <pre><code>jason@10.1.1.1/x/data/tables
  </code></pre>