Helper/Get-BCDevExtensionURL.ps1
function Get-BCDevExtensionURL { param ( [Parameter(Position=0, Mandatory=$false)] [String]$Publisher = 'Bricklead', [Parameter(Position=1, Mandatory=$true)] [string]$Name, [Parameter(Position=2, Mandatory=$false)] [string]$Version = 'latest', [Parameter(Position=3, Mandatory=$false)] [ValidateSet("AppSource", "Master", "Release-Candidate")][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-BCDevExtensionURL |