The script collects the list of site collection details in each content database in the sharepoint farm and SQL instance details under which the content database is located.
Output file(DBDetails.csv) will be generated under the same location where the script is placed. The output file contains the following details,
- SiteCollectionURL
- ContentDatabase Name
- Respective SQL instance