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 tr
try this (like in your link):
$uri.GetType().GetField("m_Flags", [System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
to get non public properties:
$uri.GetType().GetProperties( [System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic )