Get-PASAccountPasswordVersion

Get-PASAccountPasswordVersion

SYNOPSIS

Returns details of secret versions.

SYNTAX

Get-PASAccountPasswordVersion [-AccountID] <String> [[-showTemporary] <Boolean>] [<CommonParameters>]

DESCRIPTION

Returns all secret versions.

Requires the following Safe member authorizations:

  • List accounts
  • View Safe members

Requires CyberArk Version 12.1 or higher.

EXAMPLES

Example 1

PS C:\> Get-PASAccountPasswordVersion -AccountID 32_1

Get password versions for account with ID 32_1

Example 2

PS C:\> Get-PASAccountPasswordVersion -AccountID 32_1 -showTemporary $true

Get password versions, including temporary versions for account with ID 32_1

PARAMETERS

-AccountID

The ID of the account to get password version details of.

Type: String
Parameter Sets: (All)
Aliases: id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-showTemporary

Whether to include temporary password versions in the results.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

https://pspas.pspete.dev/commands/Get-PASAccountPasswordVersion