We recently had an "emergency case" where we needed the local administrator on a Server. We have for every Server local admin, the same password but for any reason one Server had a diffrent one.
I now wanted to check through every Server, but I cant remote login on 160+ Servers just to check if the local admin PW is correct.
So I thougth about a powershell script to achive this but have no clue how to start of with. I first thougth about starting a PSSession with the "local admin" credentials and when the login fails it must be a sign to check this server. But as I was testing it, it even failed with the correct password.
Now I'm stranded and can't think of any quick/clean solution.