Debug/dotup-nb11.ps1
using module "..\Private\RepositoryInfo.psm1" Import-Module .\DotupPsGitKit.psm1 $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 $respos = $respos | Get-GitRepositoryInfos Write-Host " +++ dotupNET +++ " $dotupNET = $respos | Where-Object { $_.RemoteOrigin -like "*dotup*" } #| Format-Table $dotupNET | Format-Table Write-Host " +++ OTHERS +++ " $respos | Where-Object { $_.RemoteOrigin -notlike "*dotup*" } | Format-Table Write-Host " +++ LOCAL +++ " $local = $respos | Where-Object { $_.Local -eq $true } $local | Format-Table Write-Host " +++ dotupNET - commit +++ " $dotupNET | Where-Object { $_.Commit -eq $true } | Format-Table $updateable = $dotupNET | Where-Object { $_.Commit -eq $true } $updateable | Update-GitRepository Write-Host " +++ dotupNET - push +++ " $pushable = $dotupNET | Where-Object { $_.Push -eq $true } $pushable | Format-Table $pushable | Update-RemoteRepository # $Path = 'c:\src' # $childs = Get-ChildItem $Path -Directory # foreach ($item in $childs) { # Write-Host "'$($item.FullName)'," # } |