Helper/Get-ExtensionURL.ps1
function Get-ExtensionURL { 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 = "https://bribcextension.blob.core.windows.net/extension/$Publisher/$Name/$Branch/$Version/apps.zip".ToLowerInvariant() -replace ' ', '-' Write-Verbose $URL Return $URL } Export-ModuleMember -Function Get-ExtensionURL |