Get-TFSFilesPresentInFolder.ps1

[CmdletBinding()]
Param(
    [Parameter(Mandatory=$true,Position=1)]
    [string]$FolderPath,
    [Parameter(Mandatory=$false)]
    [string]$BranchPath
)

Import-Module "C:\TFS\TFS Tools\Tecman.TFS.Tools.psm1" -DisableNameChecking

if ($BranchPath -eq '') {
    $BranchPath = Select-TFSBranch
}

if ($BranchPath -eq '') {
    return
}

Get-TFSFilesPresentInFolder -FolderPath $FolderPath -BranchPath $BranchPath