Get-DSPamPasswordRotationLog
Synopsis
Get PAM password rotation report.
Syntax
__AllParameterSets
Get-DSPamPasswordRotationLog [-DateFilter <DateFilter>] [-After <datetime>] [-Before <datetime>]
[-CredentialType <PamConnectionType[]>] [-VaultID <guid[]>] [-Filter <string>]
[-PageSize <int>] [-IncludeNoPasswordUpdate] [<CommonParameters>]Description
Get the PAM last password update report from the server. Optionally filter by date range, credential type, or vault. If no date filter is applied, entries from the last 7 days are fetched. Returns all matching entries across all pages.
Examples
Example 1
PS C:\> Get-DSPamPasswordRotationLogGets PAM password rotation entries from the last 7 days (default).
Example 2
Gets PAM password rotation entries for Q1 2025. Since -Before defaults to midnight, $before is set to 23:59:59.999 to include the full last day.
Example 3
Gets all PAM accounts from the last 30 days, including those with no password update.
Parameters
-After
Start date for custom date range (required when using -DateFilter Custom).
-Before
End date for custom date range (use with -DateFilter Custom). Defaults to current date/time if not specified.
-CredentialType
Filter by one or more credential types.
-DateFilter
Date filter for the report. Defaults to the last 7 days if not specified.
-Filter
Text filter applied server-side on account name or username.
-IncludeNoPasswordUpdate
Include accounts that have never had a password update.
-PageSize
Number of log entries fetched per request. Default is 10000. Increase this value to reduce the number of requests for large datasets (fewer round trips), or decrease it if you encounter timeout issues due to heavy payloads.
-VaultID
Filter by one or more vault IDs.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPamPasswordRotationLogItem
Notes
For more information, type "Get-Help Get-DSPamPasswordRotationLog -detailed". For technical information, type "Get-Help Get-DSPamPasswordRotationLog -full".
Last updated
Was this helpful?