I am trying to find which domain all my SQL Servers are on (they are currently on different domains). I am looking for a query to do this within SQL Server if possible to avoid having to connect to each one and go under computer properties and look at the full name.
Any suggestions?
ServerProperty with options Servername and Machinename only get me the basic server name, not including the domain.