CmdID / PowerShell / Cmdlets / Get
Get-LapsAADPassword
Queries Microsoft Entra ID for the Windows Local Administrator Password Solution (LAPS) credentials on a specified Microsoft Entra device. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-AsPlainTextSpecify this parameter to return the LAPS passwords in clear-text format.-DeviceIdsSpecifies the device name or device ID to query LAPS credentials.-IncludeHistorySpecifies that any older LAPS credentials on the device object should also be displayed.-IncludePasswordsSpecifies whether to return password information.