Skip to content

New-HarborImportTemplate

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Generates a ready-to-fill CSV import template, seeded with example rows derived from the active naming standard so operators don’t guess columns or valid values.

Terminal window
New-HarborImportTemplate [-OutputPath] <string> [-Type <string>] [-ConfigPath <string>] [-ConfigProfile <string>] [-WhatIf] [-Confirm]

-Type Safe writes the columns Import-PAMSafes reads (the naming segments, safe type, CPM, owner, ticket refs, plus personal and naming- exception rows); -Type Account the columns Import-PAMAccounts reads. The example rows take their values from the profile’s naming standard and safe defaults – replace them with your rows. Nothing touches the vault. Supports -WhatIf.

Terminal window
New-HarborImportTemplate -Type Safe -OutputPath .\safes.csv
Terminal window
New-HarborImportTemplate -Type Account -OutputPath .\accounts.csv

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Asks for confirmation before the command changes anything.

Type Required Position Pipeline input
SwitchParameter No Named No

Aliases: cf.

Not described in the module help.

Type Required Position Pipeline input
String Yes 0 No

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Accepted values: Safe, Account. Default: Safe.

Shows what the command would do, without doing it.

Type Required Position Pipeline input
SwitchParameter No Named No

Aliases: wi.

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.