Skip to content

Export-HarborHealthReport

Harbor HealthNo sign-in neededGenerated from the codeDescribes Health 0.22.0

Renders a health-check result as a self-contained HTML report (the boardroom artifact) and writes it to -Path.

Terminal window
Export-HarborHealthReport [[-Result] <Object>] [-Path] <string>

Uses the shared ConvertTo-HarborReport renderer for the check table and prepends a score hero. Pass -Result to render a specific run; otherwise the last Invoke-HarborHealthCheck result from this session is used.

Terminal window
Invoke-HarborHealthCheck | Export-HarborHealthReport -Path .\health.html

Not described in the module help.

Type Required Position Pipeline input
String Yes 1 No

Not described in the module help.

Type Required Position Pipeline input
Object No 0 By value

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.