Command/Workspace/TFS/GetWorkspaces.ps1


param 
(
    [bool]$Blocking = $true
)

Import-Module CmxModule -Force -DisableNameChecking
SetWindowTitle $MyInvocation.MyCommand.Name

Write-Host "The list contains all workspaces of the current user on the jupiter collection:" 

& (GetTfPath) workspaces /collection:https://jupiter.tfs.siemens.net/tfs/tia

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