Get-DSPamAccount: Add parameter to retrieve detailed information for all PAM accounts in a single
2 votes
Current Behavior:
Get-DSPamAccount (without parameters) returns only limited information for all PAM accountsGet-DSPamAccount -AccountID [ID] returns detailed information for a specific accountGet-DSPamAccount -AccountID [ID] individuallyIssue:
Our automation scripts run frequently (several times per hour) and need detailed information for all PAM accounts. The current workflow requires N+1 requests to DVLS (one initial request + one per account), which:
Proposed Solution:
Add a parameter (e.g., -Detailed or -IncludeDetails) to Get-DSPamAccount that retrieves detailed information for all accounts in a single call.
Example Usage:
Get-DSPamAccount -Detailed
Benefits:
Alternative Considerations:
Batch parameter:
Get-DSPamAccount -AccountID @(id1, id2, id3)
to retrieve multiple accounts at once
Hello,
Thank you for the request. We'll evaluate whether this is something we can implement. I've opened an internal ticket, and we will provide updates as soon as we have more information.
Regards,
Maxime