Debug/dotup-nb11.ps1

$folders = @(
  'C:\src\apps',
  'C:\src\Beispiele',
  'C:\src\g-AlexaWorld',
  'C:\src\g-dotup',
  'C:\src\g-typescipt-templates',
  'C:\src\vs',
  'C:\src\_git_'
)

Clear-Host

$folders | Write-Host

$respos = $folders | Get-GitRepositories | Get-GitRepositoryInfos #| Format-Table

Write-Host " +++ dotupNET +++ "
$dotupNET = $respos | Where-Object { $_.RemoteOrigin -like "*dotupNET*" } #| Format-Table
$dotupNET | Format-Table

Write-Host " +++ OTHERS +++ "
$respos | Where-Object { -not $_.RemoteOrigin -like "*dotupNET*" } | Format-Table


Write-Host " +++ LOCAL +++ "
$respos | Where-Object { $_.Local -eq $true } | Format-Table

Write-Host " +++ dotupNET - commit +++ "
$dotupNET | Where-Object { $_.Commit -eq $true } | Format-Table

Write-Host " +++ dotupNET - push +++ "
$dotupNET | Where-Object { $_.Push -eq $true } | Format-Table

# $Path = 'c:\src'
# $childs = Get-ChildItem $Path -Directory
  
# foreach ($item in $childs) {
# Write-Host "'$($item.FullName)',"
# }