Test/TFS/GetTfPath.ps1
Import-Module CmxModule -Force $tfDefault = GetTfPath Write-Output "Default Tf path: $tfDefault" $tf14 = GetTfPath "$VsVersion14" Write-Output "VisualStudio 2015 Tf path: $tf14" $tf15 = GetTfPath "$VsVersion15" Write-Output "VisualStudio 2017 Tf path: $tf15" $tf16 = GetTfPath "$VsVersion16" Write-Output "VisualStudio 2019 Tf path: $tf16" $canConnect = CanConnectToTfs -Version "[15,16)" -TfsUrl "$TfsUrl" Write-Output "Can connect to TFS: $canConnect" |