I\'m creating a PowerShell script that will assemble an HTTP path from user input. The output has to convert any spaces in the user input to the product specific codes, \"%2
To replace " " with %20 and / with %2F and so on, do the following:
" "
%20
/
%2F
[uri]::EscapeDataString($SitePath)