SELECT DB_NAME(database_id) AS DatabaseName, Name AS Logical_Name, Physical_Name, (size*8)/1024 SizeMB FROM sys.master_files where Physical_name like '%.mdf' and DB_NAME(database_id) not in ('master','tempdb','model','msdb','ReportServer','ReportServerTempDB')