New-HarborImportTemplate
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.
Syntax
Section titled “Syntax”New-HarborImportTemplate [-OutputPath] <string> [-Type <string>] [-ConfigPath <string>] [-ConfigProfile <string>] [-WhatIf] [-Confirm]Description
Section titled “Description”-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.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”New-HarborImportTemplate -Type Safe -OutputPath .\safes.csvExample 2
Section titled “Example 2”New-HarborImportTemplate -Type Account -OutputPath .\accounts.csvParameters
Section titled “Parameters”-ConfigPath
Section titled “-ConfigPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | Named | No |
-ConfigProfile
Section titled “-ConfigProfile”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | Named | No |
-Confirm
Section titled “-Confirm”Asks for confirmation before the command changes anything.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
Aliases: cf.
-OutputPath
Section titled “-OutputPath”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.
-WhatIf
Section titled “-WhatIf”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).
See also
Section titled “See also”- All Harbor Onboard cmdlets
- In PowerShell:
Get-Help New-HarborImportTemplate -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
