Export-HarborHealthDiagnostics
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.
Syntax
Section titled “Syntax”Export-HarborHealthDiagnostics [[-Path] <string>] [[-ConfigProfile] <string>]Description
Section titled “Description”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.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Connect-PAMSession -ConfigProfile prodExport-HarborHealthDiagnosticsParameters
Section titled “Parameters”-ConfigProfile
Section titled “-ConfigProfile”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).
See also
Section titled “See also”- All Harbor Health cmdlets
- In PowerShell:
Get-Help Export-HarborHealthDiagnostics -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
