Or even better you could use the software tool "ARI" (AdvancedRemoteInfo). It has a batch mode to scan a list of servers and export the results as CSV. You can scan a list of servers imported from a text file or scan by IP-range.
The tool can be found at: http://www.snapfiles.com/get/aremoteinfo.html HTH Thomas Rup