Public/Get-TFSRestURL.ps1
function Get-TFSRestURL{ <# .Synopsis Please give your script a brief Synopsis, .DESCRIPTION A slightly longer description, .PARAMETER logLevel explain your parameters here. Create a new .PARAMETER line for each parameter, .EXAMPLE THis example runs the script with a change to the logLevel parameter. .Template.ps1 -logLevel Debug .INPUTS What sort of pipeline inputdoes this expect? .OUTPUTS What sort of pipeline output does this output? .LINK www.google.com #> if ($script:apiVersion -eq "3.0"){ Write-Output "$script:TFSbaseURL/$script:TFSCollection/$script:TFSTeamProject" } else{ Write-Output "$script:TFSbaseURL/$script:TFSTeamProject" } } Export-ModuleMember -Function Get-TFSRestURL |