Source: http://voices.yahoo.com/get-active-databases-sharepoint-2010-farm-11694386.html?cat=15
Follow these steps to list all active databases in the SharePoint 2010 Farm:
- Logon to your SharePoint server farm (preferably the server that hosts Central Admin)
- Click Start
- Click All Programs
- Click SharePoint 2010 Products
- Click SharePoint 2010 Management Shell (run as administrator)
- Type Get-SPDatabase | Select Name | Out-File c:\alldbs.txt (this will create the file for you if it doesn’t exist)
Filed under: SharePoint 2010 Administration