CmdID / PowerShell / Cmdlets / Get
Get-LapsADPassword
Queries Windows Local Administrator Password Solution (LAPS) credentials from Active Directory (AD) on a specified AD computer or domain controller object. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AsPlainTextSpecify this parameter to return the LAPS passwords in clear-text format.-CredentialSpecifies a set of credentials to use when querying AD for the LAPS credentials.-DecryptionCredentialSpecifies a set of credentials to use when decrypting encrypted LAPS credentials.-DomainSpecifies the name of the domain to connect to.-DomainControllerSpecifies the name of the domain controller to connect to, or the remote server on which an AD Snapshot Browser is running.-IdentitySpecifies the name of the computer or domain controller object to retrieve LAPS credentials from.-IncludeHistorySpecifies that any older LAPS credentials on the computer object should also be displayed.-PortSpecifies the AD Snapshot Browser port to connect to.-RecoveryModeThis parameter provides a last-ditch option when it's no longer possible to decrypt a given LAPS credential via the normal mechanisms.