I have a powershell custom command that retrieves the LAPS password from AD for a specified computer. This allows us to run the query in the Adaxes context and delegate it to support staff by OU.
Is there any way to copy the resulting password to the clipboard? We find that even in the adaxes website, the results popup window will not let you copy from it.
#Viewing a password using the LAPS PowerShell module.
$logmessage = Get-AdmPwdPassword -Computername '%name%' | Select-Object ComputerName, Password, ExpirationTimeStamp | Out-String -Stream
foreach ($logline in $logmessage) { if ($logline -ne '') { $Context.LogMessage($logline, "Information") } }