title: Accessing private members from powershell
body: <p>I'm trying to get Uri to stop encoding '/'
  As explained here:
  <a href="https://stackoverflow.com/questions/781205/getting-a-url-with-an-url-encoded-slash">GETting a URL with an url-encoded slash</a></p>
  
  <p>But how to achieve the same in powershell ? </p>
  
  <p>I'm trying to follow the route of accessing private property and changing it's value but I can't get it to work. </p>
  
  <p><code>[Uri].GetProperties([System.Reflection.BindingFlags]::NonPublic)</code> - returns nothing </p>
  
  <p>Any ideas?</p>