Bahn: aisupport, Analyse-O2C-C2S, awesome-bahn-mcp-servers, beam-mcp,
Confluence_Bot, db-planet-mcp-server, O2C-Harness, project-audit,
Projekt-KIQ-HP, teamlandkarte-mcp
Dhive: Jury-Voting
Privat: CV, NoteGraph (NOTE: NoteGraph needs complete redo after consolidation)
Shared: AI-Orchestrator, OrgMyLife, power_skills_and_more
Shared/references: symphony (read-only)
Bahn repos remain available as independent remotes - this monorepo
pulls them in via subtree, the originals are untouched.
25 lines
767 B
PowerShell
25 lines
767 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Check which pages exist under the configured root page
|
|
.USAGE
|
|
powershell -ExecutionPolicy Bypass -File scripts/confluence-check.ps1
|
|
#>
|
|
|
|
. "$PSScriptRoot/../config.ps1"
|
|
. "$PSScriptRoot/lib/confluence-api.ps1"
|
|
|
|
Write-Host "=== Confluence Page Check ===" -ForegroundColor Cyan
|
|
Write-Host "Root: $RootPageId | Space: $SpaceKey"
|
|
Write-Host ""
|
|
|
|
$Children = Get-ChildPages -PageId $RootPageId
|
|
Write-Host "Found $($Children.Count) child pages:" -ForegroundColor Green
|
|
Write-Host ""
|
|
Write-Host ("{0,-10} {1,-60} {2}" -f "ID", "Title", "Version")
|
|
Write-Host ("-" * 80)
|
|
|
|
$Children | Sort-Object { $_.title } | ForEach-Object {
|
|
$ver = if ($_.version) { $_.version.number } else { "?" }
|
|
Write-Host ("{0,-10} {1,-60} v{2}" -f $_.id, $_.title, $ver)
|
|
}
|