Du to a prod incident, we had to check all the TSE/RDS mapping config on our farm.
Of course, there is no way to do it manually on 200 servers …
How can we do it with Powershell ?
First, we need to find which are registry keys that are actualy storing RDS params. Google is our friend! We find all the required informations here. Those keys seem interesting :
We already howto to interrogate remote registry here and there
Put it all together