Helper/Get-ShortExtensionURL.ps1
function Get-ShortExtensionURL { param ( [Parameter(Position=0)] [String]$Publisher = 'Bricklead', [Parameter(Position=1, Mandatory=$true)] [string]$Name, [Parameter(Position=2)] [string]$Version = 'latest', [Parameter(Position=3)] [string]$Branch = 'release-candidate' ) $URL = "$Publisher/$Name/$Branch/$Version/apps.zip".ToLowerInvariant() -replace ' ', '-' Write-Verbose $URL Return $URL } Export-ModuleMember -Function Get-ShortExtensionURL |