Skip to content

Export-HarborHealthDiagnostics

Harbor HealthNo sign-in neededGenerated from the codeDescribes Health 0.22.0

Captures the RAW API responses Harbor Health parses – plus a fold dry-run – into one local JSON file, so response-shape gaps on a real tenant can be fixed from evidence instead of guesses.

Terminal window
Export-HarborHealthDiagnostics [[-Path] <string>] [[-ConfigProfile] <string>]

Collects (best-effort, every section independent):

  • ComponentsMonitoringSummary (raw) + ComponentsMonitoringDetails per summary type (raw)
  • Connector Management /api/connectors + /api/connector-pools (raw)
  • Identity Redrock ‘Proxy’ query (Identity connectors, raw)
  • SIA/DPA endpoint PROBES (candidate subdomains x candidate paths; status or error per probe – evidence for building the SIA collector)
  • A fold dry-run: ConvertTo-HealthConnectorRows + the full Get-HealthComponentInventory inside try/catch, with any exception captured verbatim

Nothing is redacted (hostnames/IPs/usernames appear; NO secrets or tokens are ever written). Share the file for shape analysis.

Terminal window
Connect-PAMSession -ConfigProfile prod
Export-HarborHealthDiagnostics

Not described in the module help.

Type Required Position Pipeline input
String No 1 No

Output file. Default: harbor-health-diagnostics.json on the Desktop (falls back to the profile log folder).

Type Required Position Pipeline input
String No 0 No

This command also accepts the PowerShell common parameters (-Verbose, -ErrorAction, and so on).

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.