I've recently set up Windows LAPS throughout our network, which spans two domains. I can retrieve LAPS passwords from the domain I'm currently in, but I'm having trouble figuring out how to query LAPS across domains. I know I can use Get-ADComputer with the server specified, but whenever I try to query LAPS from the other domain, I keep running into an error saying that the host can't be found. Any advice on how to make this work?
2 Answers
It sounds like you're using PowerShell to get the password, which is the right approach. To fetch LAPS passwords cross-domain, you should use Get-LapsADPassword with the -Domain parameter to specify the domain you're querying. If you need to use different credentials for that domain, don't forget to include the -Credential parameter as well.
Glad I could help! It’s a common mistake to forget to include the domain when pulling LAPS passwords. Just make sure you're addressing the right domain during your queries!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures