I'm trying to get Uri to stop encoding '/' As explained here: GETting a URL with an url-encoded slash

But how to achieve the same in powershell ?

I'm trying to follow the route of accessing private property and changing it's value but I can't get it to work.

[Uri].GetProperties([System.Reflection.BindingFlags]::NonPublic) - returns nothing

Any ideas?

Edit
Report