Export-HarborHealthReport
Renders a health-check result as a self-contained HTML report (the boardroom artifact) and writes it to -Path.
Syntax
Section titled “Syntax”Export-HarborHealthReport [[-Result] <Object>] [-Path] <string>Description
Section titled “Description”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.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Invoke-HarborHealthCheck | Export-HarborHealthReport -Path .\health.htmlParameters
Section titled “Parameters”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
Yes | 1 | No |
-Result
Section titled “-Result”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).
See also
Section titled “See also”- All Harbor Health cmdlets
- In PowerShell:
Get-Help Export-HarborHealthReport -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
