Get-PAMMonthlySummary
The monthly “what Harbor did” summary: safes created and decommissioned, accounts onboarded, compliance movement (score, grade, new vs resolved drift), operator activity – one object per calendar month, optionally written as the branded HTML report.
Syntax
Section titled “Syntax”Get-PAMMonthlySummary [[-Month] <string>] [[-ReportPath] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>]Description
Section titled “Description”Entirely OFFLINE: composes the registers, compliance-history.jsonl, the G1 snapshot store and the day-file activity logs – no vault session needed, so it can run any time (and one day on the G1 scheduler’s cadence). Sources are best-effort: an absent file simply contributes zeros.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-PAMMonthlySummary -Month 2026-07 -ReportPath .\harbor-july.htmlParameters
Section titled “Parameters”-ConfigPath
Section titled “-ConfigPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 2 | No |
-ConfigProfile
Section titled “-ConfigProfile”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 3 | No |
-Month
Section titled “-Month”Calendar month ‘yyyy-MM’ (UTC). Default: the current month to date.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 0 | No |
-ReportPath
Section titled “-ReportPath”Optional output file. ‘.html’ writes the branded report; anything else writes JSON.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 1 | No |
This command also accepts the PowerShell common parameters (-Verbose, -ErrorAction, and so on).
See also
Section titled “See also”- All Harbor Onboard cmdlets
- In PowerShell:
Get-Help Get-PAMMonthlySummary -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
