Skip to content

Test-HarborSetup

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

The Harbor doctor: checks everything a client install needs, each check green/red with a fix hint. Run it first on every new environment.

Terminal window
Test-HarborSetup [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-Connect] [-Quiet]

Offline checks always run: config loads + validates, no template placeholders, local override present, secret source available, log / register paths writable, CSV templates present. Live checks run when a session already exists, or when -Connect is passed (which authenticates and leaves the session open): token works against PVWA, the two global admin groups resolve as a vault group or Identity role, and a least-privilege probe confirms the service user can READ CyberArk Identity roles (Redrock) – the rights gap that otherwise surfaces only mid-onboarding when a persona group is an Identity role. Returns one object per check (Check, Status Pass/Warn/Fail/Skip, Detail) and prints a colored summary. Any Fail means not ready.

Terminal window
Test-HarborSetup
Terminal window
Test-HarborSetup -Connect -ConfigProfile test

Not described in the module help.

Type Required Position Pipeline input
String No 0 No

Not described in the module help.

Type Required Position Pipeline input
String No 1 No

Not described in the module help.

Type Required Position Pipeline input
SwitchParameter No Named No

Not described in the module help.

Type Required Position Pipeline input
SwitchParameter No Named 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.