Get-PAMAccountRegister
Reads and filters the local account register (every account onboarded by Harbor, with run correlation IDs for audit).
Syntax
Section titled “Syntax”Get-PAMAccountRegister [[-SafeName] <string>] [[-UserName] <string>] [[-PlatformId] <string>] [[-OutputPath] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-ExportCsv]Description
Section titled “Description”Offline: reads the profile’s account register file, never the vault. -SafeName, -UserName and -PlatformId filter the entries. -ExportCsv writes the filtered entries to -OutputPath as CSV for a review or an audit request. The register holds no secrets: an account’s password is never written to it.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-PAMAccountRegister -SafeName AB-PAS-SRV-WIN-DA-I-M-PExample 2
Section titled “Example 2”Get-PAMAccountRegister -ExportCsv -OutputPath .\accounts.csvParameters
Section titled “Parameters”-ConfigPath
Section titled “-ConfigPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 4 | No |
-ConfigProfile
Section titled “-ConfigProfile”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 5 | No |
-ExportCsv
Section titled “-ExportCsv”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
-OutputPath
Section titled “-OutputPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 3 | No |
-PlatformId
Section titled “-PlatformId”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 2 | No |
-SafeName
Section titled “-SafeName”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 0 | No |
-UserName
Section titled “-UserName”Not described in the module help.
| 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-PAMAccountRegister -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
