Command/Workspace/TFS/GetBriefChangeHistory.ps1


 param 
 (
    [bool]$Blocking = $true
 )

Import-Module CmxModule -Force -DisableNameChecking

SetWindowTitle $MyInvocation.MyCommand.Name

$workspace = $LocalWorkspace
Write-Output "Workspace: $workspace"

$tf = GetTfPath
$result = ExecuteProcess -fileName "$tf" -arguments "history `"$workspace`" /recursive /stopafter:10 /format:brief "
Write-Output "History:"
Write-Output $result.StandardOutput


if($Blocking)
{
    Read-Host "Press key to exit"
}