Skip to content

Invoke-PAMAccountAction

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Triggers a CPM lifecycle action on an account: Verify, Change (rotate) or Reconcile. Requires a connected session.

Parameter set One (default):

Terminal window
Invoke-PAMAccountAction -AccountId <string> -Action <string> [-ConfigPath <string>] [-ConfigProfile <string>] [-WhatIf] [-Confirm]

Parameter set Safe:

Terminal window
Invoke-PAMAccountAction -SafeName <string> -Action <string> [-ConfigPath <string>] [-ConfigProfile <string>] [-WhatIf] [-Confirm]

Thin, audited wrapper over the CyberArk CPM action endpoints. The action is asynchronous on the CPM side; this cmdlet requests it and logs the request.

Terminal window
Invoke-PAMAccountAction -AccountId 123_45 -Action Verify
Terminal window
Invoke-PAMAccountAction -AccountId 123_45 -Action Change

Not described in the module help.

Type Required Position Pipeline input
String Yes Named No

Not described in the module help.

Type Required Position Pipeline input
String Yes Named No

Accepted values: Verify, Change, Reconcile.

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.

Bulk mode – run the action on every CPM-managed account in a safe.

Type Required Position Pipeline input
String Yes Named No

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.