We have LAPS installed and running but I am having an issue with get-admpwdpassword
From a server, I can run this cmdlet, enter the computer name, and receive the password.
From my PC, I do a PS remote session to the server, connecting as the same user, run the cmdlet, enter the computer name and receive this error:
An operation error occurred.
+ CategoryInfo : NotSpecified: (:) [Get-AdmPwdPassword], DirectoryOperationException
+ FullyQualifiedErrorId : System.DirectoryServices.Protocols.DirectoryOperationException,AdmPwd.PS.GetPassword
I get the same error if running the PowerShell Web Access.
Any ideas would be greatly appreciated.
James