functions/web/Get-UrlFilename.ps1

function Get-UrlFilename {
    [Cmdletbinding()]
    param (
        [Parameter(Mandatory = $true)]
        [string]$Url
    )

    process {
        $Url.Substring($Url.LastIndexOf("/") + 1)
    }
}