Use PAM account from Powershell

Use PAM account from Powershell

avatar

Hello, i am trying to figure out how to use PS module to retrieve PAM account password. I find out i can use Invoke-DSPamCheckout but my problem is that i have no way of knowing what id to provide. When i list all pam account i only have the IDs and i am unable to know what id is related to what account? I did try to find out the relation ID/Account name trought the GUI but did not find a way. Please help ;-p

All Comments (3)

avatar

Hello,

To get the list of all PAM accounts in an array, you can use the Get-DSPamAccount cmdlet without specifying any parameters like this.

$PAMaccounts = (Get-DSPamAccount).body.data


Let us know if you have further questions about it.

Best regards,

Érica Poirier

avatar

Thanks for the fast answer. Is there any detailed documentation of the PS API where i can find that type of information?

avatar

Hello,

Other than what you can get with Get-Help, there is no online documentation available about the most recent version of the Devolutions.PowerShell module cmdlets. You can still refer to this GitHub repository for some instructions about the cmdlets. Please note that the module on this GitHub repository supports DVLS up to version 2022.3.13.

Best regards,

Érica Poirier