Private/Get-DecodedUrl.ps1

function Get-DecodedUrl
{
    [CmdletBinding(PositionalBinding=$true)]
    param
    (
        [Parameter(Mandatory=$true)][string]$InputString
    )

    Add-Type -AssemblyName System.Web
    return [System.Web.HttpUtility]::UrlDecode($InputString)

}