Get-PAMSafeRegister
Reads and filters the local safe register.
Syntax
Section titled “Syntax”Get-PAMSafeRegister [[-App] <string>] [[-Environment] <string>] [[-UniqueId] <string>] [[-OutputPath] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-Refresh] [-ExportCsv]Description
Section titled “Description”Loads the register referenced by the active environment profile and returns its entries as objects (pipeable to Where-Object, Export-Csv, etc.). Optional filters narrow by application, environment or unique ID. Use -ExportCsv with -OutputPath to write a CSV copy.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-PAMSafeRegister -App PAS -Environment PExample 2
Section titled “Example 2”Get-PAMSafeRegister -ExportCsv -OutputPath .\register.csvParameters
Section titled “Parameters”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 0 | No |
-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 |
-Environment
Section titled “-Environment”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 1 | 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 |
-Refresh
Section titled “-Refresh”Re-sync the cache from the vault first (backfill + mark-missing). Requires a connected session; the register is a CACHE of the vault.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
-UniqueId
Section titled “-UniqueId”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 2 | 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-PAMSafeRegister -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
